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.0008763/0.0008763, 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.001245/0.001245, 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.9686/0.9686, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.87/1.87, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.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.834e-06/1.834e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.678e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1449/0.145, allocations: 152.9 MB / 0.9093 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.1521, allocations: 4.942 MB / 0.9141 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.1532, allocations: 59.44 kB / 0.9142 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.1541, allocations: 416.9 kB / 0.9146 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.1565, allocations: 1.255 MB / 0.9158 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.1589, allocations: 1.52 MB / 0.9173 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.1621, allocations: 2.954 MB / 0.9202 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1635, allocations: 0.7429 MB / 0.9209 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.1659, allocations: 1.518 MB / 0.9224 GB, free: 12 kB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.1667, allocations: 0.6425 MB / 0.923 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.1669, allocations: 96 kB / 0.9231 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1679, allocations: 0.7132 MB / 0.9238 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.1682, allocations: 394.7 kB / 0.9242 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.1686, allocations: 383.1 kB / 0.9246 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.1702, allocations: 1.374 MB / 0.9259 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1702, allocations: 0 / 0.9259 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1702, allocations: 4 kB / 0.9259 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.1702, allocations: 0 / 0.9259 GB, free: 12.41 MB / 0.8855 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.001687/0.1719, allocations: 1.453 MB / 0.9273 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1719, allocations: 12.03 kB / 0.9273 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1731, allocations: 480 kB / 0.9278 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.174, allocations: 0.6965 MB / 0.9285 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.174, allocations: 57.42 kB / 0.9285 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.1741, allocations: 68 kB / 0.9286 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.1749, allocations: 0.7924 MB / 0.9294 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.175, allocations: 7.938 kB / 0.9294 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.175, allocations: 28 kB / 0.9294 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.175, allocations: 33.3 kB / 0.9294 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.1755, allocations: 313.6 kB / 0.9297 GB, free: 8.363 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.002537/0.178, allocations: 1.939 MB / 0.9316 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.1785, allocations: 349.3 kB / 0.932 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1786, allocations: 150.8 kB / 0.9321 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.1787, allocations: 48.47 kB / 0.9321 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.179, allocations: 418 kB / 0.9325 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 1.873e-06/0.179, allocations: 0 / 0.9325 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.0006992/0.1797, allocations: 486.4 kB / 0.933 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1798, allocations: 144.8 kB / 0.9331 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.1803, allocations: 0.6872 MB / 0.9338 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.1804, allocations: 37.7 kB / 0.9338 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1805, allocations: 354.4 kB / 0.9342 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1806, allocations: 202.2 kB / 0.9344 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.181, allocations: 134.1 kB / 0.9345 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.181, allocations: 329.9 kB / 0.9348 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1812, allocations: 101.8 kB / 0.9349 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.1814, allocations: 0.5244 MB / 0.9354 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.1818, allocations: 379.4 kB / 0.9358 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1818, allocations: 0 / 0.9358 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004579/0.1822, allocations: 418.3 kB / 0.9362 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.1823, allocations: 41.7 kB / 0.9362 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1823, allocations: 0 / 0.9362 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1823, allocations: 8 kB / 0.9362 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.1826, allocations: 155.8 kB / 0.9364 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1826, allocations: 11.94 kB / 0.9364 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.183, allocations: 139.5 kB / 0.9365 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.1831, allocations: 23.98 kB / 0.9366 GB, free: 0.9297 MB / 0.8855 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.0002128/0.1833, allocations: 192.4 kB / 0.9367 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.1834, allocations: 75.92 kB / 0.9368 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.1839, allocations: 464.2 kB / 0.9373 GB, free: 188 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1839, allocations: 4.047 kB / 0.9373 GB, free: 184 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1839, allocations: 11.92 kB / 0.9373 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1839, allocations: 0 / 0.9373 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1855, allocations: 1.654 MB / 0.9389 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.1855, allocations: 15.94 kB / 0.9389 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.1858, allocations: 103.8 kB / 0.939 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.1858, allocations: 8.5 kB / 0.939 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.1858, allocations: 27.98 kB / 0.939 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1858, allocations: 12 kB / 0.939 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1858, allocations: 11.94 kB / 0.9391 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.1864, allocations: 0.923 MB / 0.94 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.1866, allocations: 159.2 kB / 0.9401 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.1867, allocations: 23.98 kB / 0.9401 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1871, allocations: 67.95 kB / 0.9402 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.1871, allocations: 63.67 kB / 0.9403 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.1872, allocations: 31.97 kB / 0.9403 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002395/0.1874, allocations: 328.5 kB / 0.9406 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1874, allocations: 0 / 0.9406 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006135/0.188, allocations: 303.4 kB / 0.9409 GB, free: 12.14 MB / 0.9011 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.0005012/0.1885, allocations: 196 kB / 0.9411 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004543/0.189, allocations: 433.4 kB / 0.9415 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.189, allocations: 8 kB / 0.9415 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.1892, allocations: 277.1 kB / 0.9418 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/0.1902, allocations: 414 kB / 0.9422 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.192, allocations: 1.756 MB / 0.9439 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.1922, allocations: 216.4 kB / 0.9441 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.1925, allocations: 158.4 kB / 0.9442 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.1932, allocations: 342.9 kB / 0.9446 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of SimCode: time 9.22e-07/0.1932, allocations: 0 / 0.9446 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of Templates: time 0.01939/0.2126, allocations: 17.99 MB / 0.9621 GB, free: 6.559 MB / 0.9167 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.6229186011478305]