Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 12 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6058, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01963/0.6255, allocations: 19.61 MB / 1.04 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00894/0.6345, allocations: 5.875 MB / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.6353, allocations: 27.75 kB / 1.046 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.6363, allocations: 330.4 kB / 1.046 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.6389, allocations: 0.9348 MB / 1.047 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.6414, allocations: 0.9395 MB / 1.048 GB, free: 5.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.6441, allocations: 1.956 MB / 1.05 GB, free: 3.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.6452, allocations: 0.8877 MB / 1.051 GB, free: 2.484 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.6465, allocations: 0.8096 MB / 1.051 GB, free: 1.672 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.6472, allocations: 0.5599 MB / 1.052 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.6473, allocations: 40 kB / 1.052 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.6484, allocations: 471.3 kB / 1.052 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.6487, allocations: 195.2 kB / 1.053 GB, free: 428 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.6489, allocations: 249.1 kB / 1.053 GB, free: 172 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.6503, allocations: 1.374 MB / 1.054 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6503, allocations: 4 kB / 1.054 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6503, allocations: 0 / 1.054 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.6503, allocations: 0 / 1.054 GB, free: 14.79 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001945/0.6523, allocations: 1.301 MB / 1.056 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6523, allocations: 16.03 kB / 1.056 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.6527, allocations: 138.5 kB / 1.056 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.6545, allocations: 1.064 MB / 1.057 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.6546, allocations: 58 kB / 1.057 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.6547, allocations: 76 kB / 1.057 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6562, allocations: 1.033 MB / 1.058 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6562, allocations: 4 kB / 1.058 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.6563, allocations: 36 kB / 1.058 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.6563, allocations: 27.98 kB / 1.058 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.6575, allocations: 0.761 MB / 1.059 GB, free: 10.14 MB / 0.8106 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.004829/0.6623, allocations: 4.658 MB / 1.063 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.6628, allocations: 385.2 kB / 1.064 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.6632, allocations: 425.8 kB / 1.064 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6632, allocations: 38.89 kB / 1.064 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.6632, allocations: 0 / 1.064 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.001736/0.665, allocations: 0.8743 MB / 1.065 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.665, allocations: 55.41 kB / 1.065 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6662, allocations: 0.9934 MB / 1.066 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.6662, allocations: 37.7 kB / 1.066 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.6666, allocations: 0.4989 MB / 1.066 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6667, allocations: 149.8 kB / 1.067 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.6668, allocations: 16 kB / 1.067 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6669, allocations: 330 kB / 1.067 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.6672, allocations: 217 kB / 1.067 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.6676, allocations: 430.6 kB / 1.067 GB, free: 468 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.668, allocations: 317.3 kB / 1.068 GB, free: 152 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.6681, allocations: 4 kB / 1.068 GB, free: 148 kB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0013/0.6694, allocations: 0.7944 MB / 1.069 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007107/0.6701, allocations: 2.188 MB / 1.071 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.6701, allocations: 4 kB / 1.071 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.6705, allocations: 92.77 kB / 1.071 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.6709, allocations: 111.8 kB / 1.071 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004396/0.6714, allocations: 0.6226 MB / 1.072 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.6721, allocations: 119.2 kB / 1.072 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.6722, allocations: 24 kB / 1.072 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.6722, allocations: 4 kB / 1.072 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/0.6732, allocations: 0.6757 MB / 1.072 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6732, allocations: 8.156 kB / 1.072 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.6734, allocations: 60.83 kB / 1.072 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.6737, allocations: 115.8 kB / 1.073 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.6754, allocations: 1.732 MB / 1.074 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/0.6761, allocations: 107.4 kB / 1.074 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.6762, allocations: 24 kB / 1.074 GB, free: 9.105 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005781/0.6767, allocations: 498.2 kB / 1.075 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.6769, allocations: 94.81 kB / 1.075 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.6779, allocations: 0.63 MB / 1.075 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6779, allocations: 11.94 kB / 1.076 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6779, allocations: 4 kB / 1.076 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008448/0.6788, allocations: 0.8206 MB / 1.076 GB, free: 6.957 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.002436/0.6812, allocations: 1.695 MB / 1.078 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6813, allocations: 4 kB / 1.078 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.6816, allocations: 79.83 kB / 1.078 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.6817, allocations: 48.8 kB / 1.078 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.6818, allocations: 8 kB / 1.078 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/0.6821, allocations: 0.5679 MB / 1.079 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.6821, allocations: 4.062 kB / 1.079 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.6834, allocations: 0.9997 MB / 1.08 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.6838, allocations: 275.8 kB / 1.08 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6839, allocations: 11.98 kB / 1.08 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.6846, allocations: 67.88 kB / 1.08 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.6846, allocations: 31.91 kB / 1.08 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.6847, allocations: 23.98 kB / 1.08 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008217/0.6855, allocations: 0.7058 MB / 1.081 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6855, allocations: 0 / 1.081 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001544/0.687, allocations: 0.5689 MB / 1.081 GB, free: 1.684 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005291/0.6876, allocations: 284.9 kB / 1.082 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.6891, allocations: 1.012 MB / 1.083 GB, free: 396 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6891, allocations: 0 / 1.083 GB, free: 396 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.6894, allocations: 235.8 kB / 1.083 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.692, allocations: 0.5547 MB / 1.083 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.6949, allocations: 2.437 MB / 1.086 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007357/0.6956, allocations: 1.244 MB / 1.087 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001135/0.6968, allocations: 465.3 kB / 1.087 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.6969, allocations: 83.41 kB / 1.087 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.6969, allocations: 0 / 1.087 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.03106/0.728, allocations: 19.57 MB / 1.107 GB, free: 8.023 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches