Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 219.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.283/1.283, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.787/2.787, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 62.19 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1773/0.4463, allocations: 174.8 MB / 1.497 GB, free: 2.52 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006891/0.4532, allocations: 4.338 MB / 1.501 GB, free: 14.17 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000626/0.4538, allocations: 31.75 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008991/0.4547, allocations: 369.9 kB / 1.501 GB, free: 13.78 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.4573, allocations: 1.287 MB / 1.502 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.4591, allocations: 0.8226 MB / 1.503 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.4611, allocations: 1.73 MB / 1.505 GB, free: 9.93 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.4617, allocations: 456.2 kB / 1.505 GB, free: 9.48 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4629, allocations: 0.7863 MB / 1.506 GB, free: 8.691 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.464, allocations: 0.5795 MB / 1.507 GB, free: 8.113 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.721e-05/0.4641, allocations: 64 kB / 1.507 GB, free: 8.051 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.4655, allocations: 0.8574 MB / 1.508 GB, free: 7.191 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.4658, allocations: 283.1 kB / 1.508 GB, free: 6.914 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.4662, allocations: 402.3 kB / 1.508 GB, free: 6.52 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.4679, allocations: 1.273 MB / 1.51 GB, free: 5.242 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4679, allocations: 4 kB / 1.51 GB, free: 5.238 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4679, allocations: 3.938 kB / 1.51 GB, free: 5.234 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4679, allocations: 0 / 1.51 GB, free: 5.234 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001703/0.4696, allocations: 0.9758 MB / 1.51 GB, free: 4.223 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4696, allocations: 8.031 kB / 1.51 GB, free: 4.215 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.4698, allocations: 102.5 kB / 1.511 GB, free: 4.105 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/0.4707, allocations: 167.4 kB / 1.511 GB, free: 3.941 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.4715, allocations: 498.7 kB / 1.511 GB, free: 3.43 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.4715, allocations: 37.31 kB / 1.511 GB, free: 3.395 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.4716, allocations: 55.94 kB / 1.511 GB, free: 3.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4726, allocations: 0.644 MB / 1.512 GB, free: 2.68 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4726, allocations: 0 / 1.512 GB, free: 2.68 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.4726, allocations: 24 kB / 1.512 GB, free: 2.656 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.4727, allocations: 25.25 kB / 1.512 GB, free: 2.629 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.4736, allocations: 0.5126 MB / 1.512 GB, free: 2.113 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.4767, allocations: 2.254 MB / 1.515 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.4771, allocations: 242.7 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.4774, allocations: 132.7 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4774, allocations: 4.344 kB / 1.515 GB, free: 15.31 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4774, allocations: 42.56 kB / 1.515 GB, free: 15.26 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4774, allocations: 0 / 1.515 GB, free: 15.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001489/0.4789, allocations: 0.5208 MB / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.479, allocations: 77.11 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.4796, allocations: 0.5575 MB / 1.516 GB, free: 14.07 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.4796, allocations: 29.7 kB / 1.516 GB, free: 14.04 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.4799, allocations: 343.7 kB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.4799, allocations: 79.31 kB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.48, allocations: 77.98 kB / 1.517 GB, free: 13.54 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4802, allocations: 362.7 kB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.4804, allocations: 132.6 kB / 1.517 GB, free: 13.04 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.4807, allocations: 222.6 kB / 1.517 GB, free: 12.79 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.4813, allocations: 328.9 kB / 1.518 GB, free: 12.44 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4813, allocations: 0 / 1.518 GB, free: 12.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008586/0.4821, allocations: 0.491 MB / 1.518 GB, free: 11.94 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4821, allocations: 4 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4821, allocations: 4 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.4824, allocations: 93.8 kB / 1.518 GB, free: 11.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4827, allocations: 71.91 kB / 1.518 GB, free: 11.76 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.4857, allocations: 3.146 MB / 1.521 GB, free: 8.391 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.4861, allocations: 51.61 kB / 1.521 GB, free: 8.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4861, allocations: 12 kB / 1.521 GB, free: 8.328 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.4864, allocations: 222.4 kB / 1.522 GB, free: 8.102 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.4865, allocations: 55.67 kB / 1.522 GB, free: 8.047 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.4866, allocations: 56.44 kB / 1.522 GB, free: 7.988 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4866, allocations: 4 kB / 1.522 GB, free: 7.984 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4866, allocations: 3.938 kB / 1.522 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006907/0.4873, allocations: 0.5228 MB / 1.522 GB, free: 7.387 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.4885, allocations: 0.8861 MB / 1.523 GB, free: 6.441 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4885, allocations: 0 / 1.523 GB, free: 6.441 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.4887, allocations: 43.91 kB / 1.523 GB, free: 6.398 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.4889, allocations: 76.81 kB / 1.523 GB, free: 6.32 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4889, allocations: 0 / 1.523 GB, free: 6.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.4906, allocations: 1.726 MB / 1.525 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4906, allocations: 3.984 kB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.4912, allocations: 439.4 kB / 1.525 GB, free: 4.023 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.4914, allocations: 91.52 kB / 1.525 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.4915, allocations: 15.88 kB / 1.526 GB, free: 3.918 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4919, allocations: 22 kB / 1.526 GB, free: 3.898 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.4919, allocations: 23.91 kB / 1.526 GB, free: 3.875 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.492, allocations: 11.98 kB / 1.526 GB, free: 3.863 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004408/0.4924, allocations: 402.8 kB / 1.526 GB, free: 3.473 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.4924, allocations: 0 / 1.526 GB, free: 3.473 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005893/0.493, allocations: 203.8 kB / 1.526 GB, free: 3.273 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.494, allocations: 1.013 MB / 1.527 GB, free: 2.223 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008578/0.4949, allocations: 0.5222 MB / 1.528 GB, free: 1.676 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4949, allocations: 4 kB / 1.528 GB, free: 1.672 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.4952, allocations: 251.2 kB / 1.528 GB, free: 1.414 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4967, allocations: 370.2 kB / 1.528 GB, free: 1.059 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.5026, allocations: 4.47 MB / 1.533 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.5031, allocations: 0.9054 MB / 1.533 GB, free: 11.49 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003994/0.5035, allocations: 108.8 kB / 1.534 GB, free: 11.38 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.5037, allocations: 195.4 kB / 1.534 GB, free: 11.19 MB / 1.232 GB Notification: Performance of SimCode: time 1.222e-06/0.5037, allocations: 0 / 1.534 GB, free: 11.19 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.5557, allocations: 18.15 MB / 1.552 GB, free: 9.383 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.78, allocations: 8.406 kB / 1.552 GB, free: 9.379 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.58036256000014]