Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001588/0.001588, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00176/0.00176, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.[0-9,]+.|modAirRev.conEqn.sta_b.X.[0-9,]+.|modAirNoRev.conEqn.sta_b.X.[0-9,]+.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.[0-9,]+.|modAirRev.conEqn.sta_b.X.[0-9,]+.|modAirNoRev.conEqn.sta_b.X.[0-9,]+.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.205e-05, allocations: 9.781 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.136/0.136, allocations: 153.6 MB / 0.9371 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007847/0.1439, allocations: 4.837 MB / 0.9418 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00089/0.1447, allocations: 59.44 kB / 0.9418 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000884/0.1456, allocations: 424.9 kB / 0.9422 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.1477, allocations: 1.263 MB / 0.9435 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.1498, allocations: 1.513 MB / 0.945 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.1522, allocations: 2.97 MB / 0.9479 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.153, allocations: 0.7326 MB / 0.9486 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.1547, allocations: 1.322 MB / 0.9499 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009657/0.1557, allocations: 0.7592 MB / 0.9506 GB, free: 4.562 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.1558, allocations: 100 kB / 0.9507 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.1572, allocations: 0.8146 MB / 0.9515 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.1575, allocations: 394.7 kB / 0.9519 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.1579, allocations: 399 kB / 0.9523 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.1597, allocations: 1.421 MB / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1597, allocations: 0 / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1597, allocations: 0 / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.1597, allocations: 0 / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002209/0.1619, allocations: 1.605 MB / 0.9552 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1619, allocations: 12.03 kB / 0.9552 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.1632, allocations: 0.5112 MB / 0.9557 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.1646, allocations: 1.001 MB / 0.9567 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.1646, allocations: 61.25 kB / 0.9568 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/0.1647, allocations: 68 kB / 0.9568 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1658, allocations: 0.8637 MB / 0.9577 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1659, allocations: 0 / 0.9577 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.1659, allocations: 24 kB / 0.9577 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.1659, allocations: 33.31 kB / 0.9577 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.1666, allocations: 417.2 kB / 0.9581 GB, free: 12.7 MB / 0.9167 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.002767/0.1694, allocations: 2.737 MB / 0.9608 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.17, allocations: 343 kB / 0.9611 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1702, allocations: 178.8 kB / 0.9613 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.1704, allocations: 40.47 kB / 0.9613 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.1708, allocations: 453.4 kB / 0.9618 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=57): time 1.483e-06/0.1708, allocations: 0 / 0.9618 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57): time 0.001001/0.1718, allocations: 0.6487 MB / 0.9624 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.1719, allocations: 144.9 kB / 0.9625 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.1726, allocations: 0.7884 MB / 0.9633 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.1727, allocations: 41.7 kB / 0.9633 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.173, allocations: 0.4992 MB / 0.9638 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1731, allocations: 206.3 kB / 0.964 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1733, allocations: 155.9 kB / 0.9642 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1734, allocations: 0.5004 MB / 0.9647 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1736, allocations: 126.9 kB / 0.9648 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.1741, allocations: 0.6597 MB / 0.9654 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.1746, allocations: 451.8 kB / 0.9659 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1746, allocations: 0 / 0.9659 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007827/0.1753, allocations: 0.5823 MB / 0.9664 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.1754, allocations: 37.7 kB / 0.9665 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1754, allocations: 7.938 kB / 0.9665 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1754, allocations: 4 kB / 0.9665 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.1758, allocations: 163.8 kB / 0.9666 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1758, allocations: 11.94 kB / 0.9666 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.1763, allocations: 139.6 kB / 0.9668 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.1763, allocations: 31.98 kB / 0.9668 GB, free: 3.289 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.1766, allocations: 232.8 kB / 0.967 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.1767, allocations: 119.4 kB / 0.9671 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007817/0.1775, allocations: 0.5864 MB / 0.9677 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1775, allocations: 8 kB / 0.9677 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1775, allocations: 0 / 0.9677 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1775, allocations: 3.984 kB / 0.9677 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.1796, allocations: 2.056 MB / 0.9697 GB, free: 72 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1796, allocations: 8 kB / 0.9697 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1799, allocations: 107.9 kB / 0.9698 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1799, allocations: 8 kB / 0.9699 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.1799, allocations: 27.92 kB / 0.9699 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1799, allocations: 8.281 kB / 0.9699 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1799, allocations: 15.94 kB / 0.9699 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.1808, allocations: 1.096 MB / 0.971 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.1811, allocations: 223.1 kB / 0.9712 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.1812, allocations: 24 kB / 0.9712 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.1816, allocations: 59.95 kB / 0.9713 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.1816, allocations: 71.86 kB / 0.9713 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.1817, allocations: 39.97 kB / 0.9714 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004116/0.1821, allocations: 490.9 kB / 0.9718 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1821, allocations: 0 / 0.9718 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006372/0.1827, allocations: 299.4 kB / 0.9721 GB, free: 13.46 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.1831, allocations: 233.5 kB / 0.9723 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006569/0.1838, allocations: 498.8 kB / 0.9728 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1838, allocations: 0 / 0.9728 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1841, allocations: 299.6 kB / 0.9731 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.1852, allocations: 416.5 kB / 0.9735 GB, free: 12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1873, allocations: 1.822 MB / 0.9753 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.1875, allocations: 220.4 kB / 0.9755 GB, free: 9.762 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004362/0.1879, allocations: 220.5 kB / 0.9757 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1881, allocations: 72.47 kB / 0.9758 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/0.1881, allocations: 0 / 0.9758 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of Templates: time 0.01801/0.2061, allocations: 16.45 MB / 0.9918 GB, free: 9.367 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.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.804267309140414]