Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001436/0.001436, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001586/0.001586, allocations: 161.4 kB / 24.16 MB, free: 328 kB / 18.57 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.029/1.029, allocations: 177.2 MB / 204.6 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.683e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1447/0.1448, allocations: 150.5 MB / 0.907 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.1528, allocations: 3.944 MB / 0.9109 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009626/0.1538, allocations: 51.56 kB / 0.9109 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.1545, allocations: 301.7 kB / 0.9112 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.1564, allocations: 1.177 MB / 0.9124 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1579, allocations: 0.9043 MB / 0.9132 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002999/0.1609, allocations: 2.978 MB / 0.9162 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.1624, allocations: 0.806 MB / 0.9169 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.1647, allocations: 1.55 MB / 0.9185 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1658, allocations: 0.8024 MB / 0.9192 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.166, allocations: 104 kB / 0.9193 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007817/0.1668, allocations: 411.1 kB / 0.9197 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.1672, allocations: 0.4908 MB / 0.9202 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.1677, allocations: 475 kB / 0.9207 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.1691, allocations: 1.211 MB / 0.9218 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1691, allocations: 0 / 0.9218 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1691, allocations: 4 kB / 0.9219 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.549e-05/0.1691, allocations: 0 / 0.9219 GB, free: 0.5273 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001544/0.1706, allocations: 1.328 MB / 0.9231 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1707, allocations: 8.031 kB / 0.9232 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.1718, allocations: 388 kB / 0.9235 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.1728, allocations: 0.6641 MB / 0.9242 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.1728, allocations: 62.12 kB / 0.9242 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.1729, allocations: 99.98 kB / 0.9243 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.1737, allocations: 0.9661 MB / 0.9253 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1737, allocations: 4 kB / 0.9253 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.1738, allocations: 36 kB / 0.9253 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.1738, allocations: 33.98 kB / 0.9253 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.1742, allocations: 249.8 kB / 0.9256 GB, free: 12.52 MB / 0.8855 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.002687/0.1769, allocations: 1.798 MB / 0.9273 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.1772, allocations: 299.7 kB / 0.9276 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1773, allocations: 105.1 kB / 0.9277 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.987e-05/0.1774, allocations: 32.41 kB / 0.9278 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1774, allocations: 51.05 kB / 0.9278 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.266e-06/0.1774, allocations: 0 / 0.9278 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.001542/0.179, allocations: 0.8084 MB / 0.9286 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.179, allocations: 59.91 kB / 0.9286 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.1794, allocations: 0.535 MB / 0.9292 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.1794, allocations: 37.7 kB / 0.9292 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1796, allocations: 417.2 kB / 0.9296 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1797, allocations: 174.5 kB / 0.9298 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1798, allocations: 110.2 kB / 0.9299 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.18, allocations: 390.5 kB / 0.9302 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.18, allocations: 64.12 kB / 0.9303 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1802, allocations: 224.6 kB / 0.9305 GB, free: 7.266 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.1807, allocations: 452 kB / 0.931 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1807, allocations: 0 / 0.931 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004121/0.1811, allocations: 333.6 kB / 0.9313 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1812, allocations: 7.938 kB / 0.9313 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1812, allocations: 8 kB / 0.9313 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.1813, allocations: 78.48 kB / 0.9314 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.1817, allocations: 143.8 kB / 0.9315 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.1832, allocations: 2.483 MB / 0.9339 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.1835, allocations: 23.98 kB / 0.9339 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1836, allocations: 20.09 kB / 0.934 GB, free: 3.48 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.1838, allocations: 144.5 kB / 0.9341 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.1838, allocations: 71.86 kB / 0.9342 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.1839, allocations: 83.36 kB / 0.9343 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1839, allocations: 4 kB / 0.9343 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1839, allocations: 3.984 kB / 0.9343 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000321/0.1842, allocations: 0.5082 MB / 0.9348 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.1853, allocations: 0.9829 MB / 0.9357 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1854, allocations: 4 kB / 0.9357 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.1857, allocations: 139.1 kB / 0.9359 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.1858, allocations: 43.66 kB / 0.9359 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1858, allocations: 15.98 kB / 0.9359 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007452/0.1866, allocations: 1.309 MB / 0.9372 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1866, allocations: 4 kB / 0.9372 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.1871, allocations: 0.5788 MB / 0.9378 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1873, allocations: 111.4 kB / 0.9379 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.1873, allocations: 8 kB / 0.9379 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.1876, allocations: 31.98 kB / 0.9379 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.1877, allocations: 47.81 kB / 0.9379 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.1877, allocations: 27.97 kB / 0.938 GB, free: 15 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001944/0.1879, allocations: 252.6 kB / 0.9382 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 0.9382 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005461/0.1885, allocations: 280 kB / 0.9385 GB, free: 14.49 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.1887, allocations: 140.2 kB / 0.9386 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.1892, allocations: 0.4937 MB / 0.9391 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.1892, allocations: 8 kB / 0.9391 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1894, allocations: 253.5 kB / 0.9393 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.1905, allocations: 0.5405 MB / 0.9399 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1924, allocations: 1.556 MB / 0.9414 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.1926, allocations: 227.7 kB / 0.9416 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004177/0.193, allocations: 134.4 kB / 0.9417 GB, free: 11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/0.1937, allocations: 385 kB / 0.9421 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/0.1937, allocations: 0 / 0.9421 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of Templates: time 0.02217/0.2159, allocations: 19.63 MB / 0.9613 GB, free: 7.469 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.721989315003157]