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.001298/0.001298, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001054/0.001054, allocations: 161 kB / 24.17 MB, free: 332 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 0.9497/0.9497, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.919/1.919, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.23e-05, allocations: 6.25 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1373/0.1374, allocations: 150.4 MB / 0.9069 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007567/0.1449, allocations: 3.941 MB / 0.9108 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.1459, allocations: 55.5 kB / 0.9108 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.1466, allocations: 305.8 kB / 0.9111 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.1485, allocations: 1.181 MB / 0.9123 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.15, allocations: 0.9081 MB / 0.9132 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002806/0.1528, allocations: 2.97 MB / 0.9161 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.1538, allocations: 0.7775 MB / 0.9168 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.1562, allocations: 1.541 MB / 0.9183 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1574, allocations: 0.814 MB / 0.9191 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.1576, allocations: 108 kB / 0.9192 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.1585, allocations: 391.1 kB / 0.9196 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.1589, allocations: 0.4986 MB / 0.9201 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.1593, allocations: 479 kB / 0.9206 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1607, allocations: 1.207 MB / 0.9217 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1607, allocations: 0 / 0.9217 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1607, allocations: 0 / 0.9217 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.1607, allocations: 0 / 0.9217 GB, free: 0.6484 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.001368/0.1621, allocations: 1.332 MB / 0.923 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1621, allocations: 8.031 kB / 0.923 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/0.1631, allocations: 395.9 kB / 0.9234 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.1638, allocations: 0.6448 MB / 0.924 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.1639, allocations: 70.12 kB / 0.9241 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.164, allocations: 92 kB / 0.9242 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.165, allocations: 0.9778 MB / 0.9252 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.165, allocations: 0 / 0.9252 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.165, allocations: 36 kB / 0.9252 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.1651, allocations: 34 kB / 0.9252 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1654, allocations: 245.8 kB / 0.9255 GB, free: 12.65 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.002278/0.1677, allocations: 1.798 MB / 0.9272 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1679, allocations: 293.9 kB / 0.9275 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.168, allocations: 113.1 kB / 0.9276 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-05/0.1681, allocations: 32.48 kB / 0.9276 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.1682, allocations: 39.06 kB / 0.9277 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/0.1682, allocations: 0 / 0.9277 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.001389/0.1696, allocations: 0.8123 MB / 0.9285 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1696, allocations: 59.91 kB / 0.9285 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1699, allocations: 0.5427 MB / 0.9291 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.17, allocations: 41.64 kB / 0.9291 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1701, allocations: 409.2 kB / 0.9295 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.355e-05/0.1702, allocations: 182.5 kB / 0.9297 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1703, allocations: 110.2 kB / 0.9298 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1704, allocations: 390.5 kB / 0.9301 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.1705, allocations: 60.11 kB / 0.9302 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1707, allocations: 216.7 kB / 0.9304 GB, free: 7.395 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.0004734/0.1712, allocations: 454.5 kB / 0.9308 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1712, allocations: 0 / 0.9308 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005882/0.1717, allocations: 337.6 kB / 0.9312 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1718, allocations: 8 kB / 0.9312 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1718, allocations: 4 kB / 0.9312 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.1719, allocations: 82.42 kB / 0.9312 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1722, allocations: 127.9 kB / 0.9314 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1737, allocations: 2.496 MB / 0.9338 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1739, allocations: 19.98 kB / 0.9338 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.174, allocations: 20 kB / 0.9338 GB, free: 3.617 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.0001655/0.1741, allocations: 144.6 kB / 0.934 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.1742, allocations: 67.81 kB / 0.934 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/0.1743, allocations: 95.38 kB / 0.9341 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1743, allocations: 4 kB / 0.9341 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1743, allocations: 0 / 0.9341 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000303/0.1746, allocations: 0.5043 MB / 0.9346 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1756, allocations: 0.9752 MB / 0.9356 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1756, allocations: 4 kB / 0.9356 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.1759, allocations: 111.9 kB / 0.9357 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.176, allocations: 54.47 kB / 0.9357 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.176, allocations: 15.94 kB / 0.9358 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006873/0.1767, allocations: 1.309 MB / 0.937 GB, free: 48 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1767, allocations: 7.984 kB / 0.937 GB, free: 40 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.1772, allocations: 0.5825 MB / 0.9376 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.1774, allocations: 115.5 kB / 0.9377 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.1774, allocations: 15.98 kB / 0.9377 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1777, allocations: 29.61 kB / 0.9378 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.1778, allocations: 47.81 kB / 0.9378 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.1778, allocations: 19.98 kB / 0.9378 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000253/0.1781, allocations: 256.6 kB / 0.9381 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1781, allocations: 0 / 0.9381 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005292/0.1786, allocations: 280 kB / 0.9383 GB, free: 14.64 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.0002169/0.1788, allocations: 140.2 kB / 0.9385 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.1793, allocations: 493.6 kB / 0.9389 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.1793, allocations: 12.69 kB / 0.939 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.1795, allocations: 256 kB / 0.9392 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1806, allocations: 0.525 MB / 0.9397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1823, allocations: 1.568 MB / 0.9412 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.1824, allocations: 231.6 kB / 0.9415 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003532/0.1828, allocations: 126.4 kB / 0.9416 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/0.1835, allocations: 393 kB / 0.942 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of SimCode: time 1.172e-06/0.1835, allocations: 0 / 0.942 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of Templates: time 0.02253/0.206, allocations: 19.62 MB / 0.9611 GB, free: 7.633 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 -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.71609462890774]