Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 196 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.774/2.774, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 64 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2528, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1867/0.4395, allocations: 171.1 MB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006181/0.4457, allocations: 4.299 MB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.4461, allocations: 19.88 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008474/0.4469, allocations: 346 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.4492, allocations: 1.229 MB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.4508, allocations: 0.7854 MB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.4526, allocations: 1.7 MB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007071/0.4533, allocations: 0.5543 MB / 1.24 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009249/0.4542, allocations: 0.6849 MB / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.4553, allocations: 0.5482 MB / 1.241 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.4554, allocations: 68 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.4568, allocations: 0.7873 MB / 1.242 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.4571, allocations: 279.3 kB / 1.242 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.4575, allocations: 410.3 kB / 1.243 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.459, allocations: 1.254 MB / 1.244 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.459, allocations: 4 kB / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.459, allocations: 0 / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.459, allocations: 0 / 1.244 GB, free: 5.496 MB / 0.9981 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.001753/0.4608, allocations: 1.04 MB / 1.245 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.4608, allocations: 8.031 kB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.4609, allocations: 106.5 kB / 1.245 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.462, allocations: 159 kB / 1.245 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.4627, allocations: 0.521 MB / 1.246 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.4628, allocations: 45.25 kB / 1.246 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.4629, allocations: 48 kB / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.464, allocations: 0.6479 MB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.464, allocations: 0 / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.4641, allocations: 24 kB / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.4642, allocations: 29.3 kB / 1.246 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009796/0.4651, allocations: 0.5125 MB / 1.247 GB, free: 2.246 MB / 0.9981 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.4045/0.8697, allocations: 2.31 MB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.8703, allocations: 250.3 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.8706, allocations: 135.4 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.8707, allocations: 5.047 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.8707, allocations: 47.67 kB / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.8707, allocations: 0 / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001747/0.8725, allocations: 0.6684 MB / 1.25 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.8725, allocations: 80.17 kB / 1.25 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.8732, allocations: 0.5578 MB / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.8733, allocations: 32.55 kB / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.8735, allocations: 332.6 kB / 1.251 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.8735, allocations: 77.75 kB / 1.251 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8736, allocations: 73.52 kB / 1.251 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.8737, allocations: 358.6 kB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.874, allocations: 134.6 kB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.8743, allocations: 215.3 kB / 1.252 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.8748, allocations: 335.2 kB / 1.252 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8748, allocations: 1.531 kB / 1.252 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009186/0.8757, allocations: 0.4952 MB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8758, allocations: 6.016 kB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8758, allocations: 3.031 kB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.8761, allocations: 97.62 kB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.8764, allocations: 72.2 kB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.8787, allocations: 3.344 MB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.8791, allocations: 50.58 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.8792, allocations: 10.66 kB / 1.256 GB, free: 184.5 MB / 0.9981 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.0002177/0.8794, allocations: 222.3 kB / 1.256 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.8795, allocations: 56.34 kB / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.8796, allocations: 55.23 kB / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8796, allocations: 2.375 kB / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.8796, allocations: 0 / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006336/0.8803, allocations: 0.5376 MB / 1.257 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.8814, allocations: 0.9137 MB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8814, allocations: 0.9688 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.8816, allocations: 52.5 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.8818, allocations: 68.75 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.8818, allocations: 5.812 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.883, allocations: 1.819 MB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.883, allocations: 0 / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.8835, allocations: 437.8 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.8837, allocations: 166.1 kB / 1.26 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.8838, allocations: 6.234 kB / 1.26 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.8842, allocations: 30.27 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.8843, allocations: 20.17 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.8844, allocations: 13.03 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003311/0.8847, allocations: 400.8 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8847, allocations: 0 / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000546/0.8853, allocations: 206.4 kB / 1.261 GB, free: 181.8 MB / 0.9981 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.0008782/0.8861, allocations: 1.033 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.8869, allocations: 0.5503 MB / 1.263 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.8869, allocations: 2.625 kB / 1.263 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.8872, allocations: 253.7 kB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.8888, allocations: 370.9 kB / 1.263 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.8935, allocations: 4.547 MB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.8938, allocations: 0.9102 MB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004117/0.8943, allocations: 112 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.8945, allocations: 190.4 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.8945, allocations: 0 / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.9405, allocations: 17.63 MB / 1.286 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.14, allocations: 23.08 kB / 1.286 GB, free: 173.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches