Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001015/0.001015, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001571/0.001571, allocations: 185 kB / 24.09 MB, free: 416 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.9899/0.9899, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.8 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.7e-05, allocations: 3.406 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1287/0.1287, allocations: 150.8 MB / 0.9592 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005958/0.1346, allocations: 4.812 MB / 0.9639 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.1352, allocations: 71.38 kB / 0.964 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.136, allocations: 420.8 kB / 0.9644 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1376, allocations: 1.255 MB / 0.9656 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.1395, allocations: 1.518 MB / 0.9671 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002096/0.1416, allocations: 2.954 MB / 0.97 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/0.1422, allocations: 0.7404 MB / 0.9707 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.1441, allocations: 1.52 MB / 0.9722 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.1447, allocations: 0.6893 MB / 0.9729 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1448, allocations: 96 kB / 0.973 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009963/0.1458, allocations: 0.7133 MB / 0.9737 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.146, allocations: 386.7 kB / 0.974 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.1463, allocations: 395 kB / 0.9744 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1476, allocations: 1.374 MB / 0.9758 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1476, allocations: 0 / 0.9758 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1476, allocations: 0 / 0.9758 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.1476, allocations: 0 / 0.9758 GB, free: 9.273 MB / 0.9323 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.001724/0.1493, allocations: 1.601 MB / 0.9773 GB, free: 7.625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1494, allocations: 12.03 kB / 0.9773 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.1505, allocations: 0.4995 MB / 0.9778 GB, free: 7.113 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/0.1513, allocations: 0.906 MB / 0.9787 GB, free: 6.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.1513, allocations: 57.44 kB / 0.9788 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.1514, allocations: 72 kB / 0.9788 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.1523, allocations: 0.8011 MB / 0.9796 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1523, allocations: 7.984 kB / 0.9796 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.1523, allocations: 28 kB / 0.9796 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.1524, allocations: 33.3 kB / 0.9797 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1528, allocations: 347.8 kB / 0.98 GB, free: 4.766 MB / 0.9323 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.002614/0.1554, allocations: 2.604 MB / 0.9825 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.1559, allocations: 315 kB / 0.9828 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1561, allocations: 162.8 kB / 0.983 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.1562, allocations: 50.72 kB / 0.9831 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.1566, allocations: 425.4 kB / 0.9835 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 1.934e-06/0.1566, allocations: 0 / 0.9835 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.0008456/0.1574, allocations: 0.5864 MB / 0.984 GB, free: 496 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1575, allocations: 148.8 kB / 0.9842 GB, free: 316 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.1582, allocations: 0.7801 MB / 0.9849 GB, free: 15.51 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.1582, allocations: 37.7 kB / 0.985 GB, free: 15.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.1585, allocations: 0.5031 MB / 0.9855 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1586, allocations: 206.2 kB / 0.9857 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1588, allocations: 155.8 kB / 0.9858 GB, free: 14.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1589, allocations: 0.5082 MB / 0.9863 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1591, allocations: 103 kB / 0.9864 GB, free: 13.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.1594, allocations: 0.5749 MB / 0.987 GB, free: 13.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.1599, allocations: 415.7 kB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1599, allocations: 4 kB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006429/0.1605, allocations: 0.5356 MB / 0.9879 GB, free: 12.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.1605, allocations: 41.69 kB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1605, allocations: 7.938 kB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1606, allocations: 8 kB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.1609, allocations: 155.8 kB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1609, allocations: 11.94 kB / 0.9881 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.1615, allocations: 139.5 kB / 0.9882 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.1615, allocations: 31.97 kB / 0.9883 GB, free: 11.82 MB / 0.948 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.0002031/0.1617, allocations: 226.2 kB / 0.9885 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1618, allocations: 123.4 kB / 0.9886 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.1624, allocations: 0.5383 MB / 0.9891 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1624, allocations: 8 kB / 0.9891 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1624, allocations: 3.938 kB / 0.9891 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1624, allocations: 3.984 kB / 0.9891 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1641, allocations: 1.888 MB / 0.991 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.1641, allocations: 7.984 kB / 0.991 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1644, allocations: 107.8 kB / 0.9911 GB, free: 8.719 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1644, allocations: 12 kB / 0.9911 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.1644, allocations: 27.98 kB / 0.9911 GB, free: 8.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.1644, allocations: 12.28 kB / 0.9911 GB, free: 8.668 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1644, allocations: 12 kB / 0.9912 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.1651, allocations: 1.056 MB / 0.9922 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.1653, allocations: 219.1 kB / 0.9924 GB, free: 7.223 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.1654, allocations: 23.98 kB / 0.9924 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.1658, allocations: 63.95 kB / 0.9925 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.662e-05/0.1658, allocations: 71.55 kB / 0.9925 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.1659, allocations: 35.97 kB / 0.9926 GB, free: 7.031 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002759/0.1662, allocations: 462.7 kB / 0.993 GB, free: 6.586 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1662, allocations: 0 / 0.993 GB, free: 6.586 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000533/0.1667, allocations: 299.4 kB / 0.9933 GB, free: 6.293 MB / 0.948 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.0002697/0.167, allocations: 230.5 kB / 0.9935 GB, free: 6.062 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.1674, allocations: 466.1 kB / 0.994 GB, free: 5.582 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1674, allocations: 7.938 kB / 0.994 GB, free: 5.574 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.1677, allocations: 280.2 kB / 0.9942 GB, free: 5.277 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1687, allocations: 408.3 kB / 0.9946 GB, free: 4.883 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1706, allocations: 1.815 MB / 0.9964 GB, free: 2.887 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1708, allocations: 220.4 kB / 0.9966 GB, free: 2.652 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.1712, allocations: 149 kB / 0.9968 GB, free: 2.508 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.1718, allocations: 413.8 kB / 0.9972 GB, free: 2.102 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.1718, allocations: 0 / 0.9972 GB, free: 2.102 MB / 0.948 GB Notification: Performance of Templates: time 0.0185/0.1903, allocations: 18.01 MB / 1.015 GB, free: 488 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.483022393193096]