Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009853/0.0009853, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001681/0.001681, allocations: 169 kB / 24.06 MB, free: 456 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.9627/0.9627, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.045/2.045, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.603e-05, allocations: 5.719 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.132/0.1321, allocations: 150.7 MB / 1.027 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006214/0.1383, allocations: 4.756 MB / 1.031 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.1389, allocations: 59.44 kB / 1.031 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.1398, allocations: 408.9 kB / 1.032 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.1415, allocations: 1.251 MB / 1.033 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.1433, allocations: 1.49 MB / 1.034 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002066/0.1454, allocations: 2.868 MB / 1.037 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.1465, allocations: 0.6796 MB / 1.038 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.1482, allocations: 1.497 MB / 1.039 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.1488, allocations: 0.6737 MB / 1.04 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1489, allocations: 96 kB / 1.04 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008073/0.1497, allocations: 0.7211 MB / 1.041 GB, free: 268 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.15, allocations: 394.7 kB / 1.041 GB, free: 15.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.1502, allocations: 383.1 kB / 1.041 GB, free: 15.5 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1514, allocations: 1.367 MB / 1.043 GB, free: 14.13 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1514, allocations: 0 / 1.043 GB, free: 14.13 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1514, allocations: 0 / 1.043 GB, free: 14.13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1514, allocations: 0 / 1.043 GB, free: 14.13 MB / 1.01 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.001763/0.1532, allocations: 1.578 MB / 1.044 GB, free: 12.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1532, allocations: 8.031 kB / 1.044 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.1544, allocations: 0.5033 MB / 1.045 GB, free: 11.99 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.1552, allocations: 0.8593 MB / 1.046 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.1553, allocations: 65.42 kB / 1.046 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.1554, allocations: 68 kB / 1.046 GB, free: 10.98 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.1564, allocations: 0.8012 MB / 1.047 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1564, allocations: 0 / 1.047 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.1564, allocations: 28 kB / 1.047 GB, free: 10.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.1565, allocations: 29.31 kB / 1.047 GB, free: 10.05 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.1569, allocations: 351.7 kB / 1.047 GB, free: 9.695 MB / 1.01 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.002678/0.1596, allocations: 2.608 MB / 1.05 GB, free: 7.027 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.1601, allocations: 323 kB / 1.05 GB, free: 6.691 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1603, allocations: 145.9 kB / 1.05 GB, free: 6.543 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.1604, allocations: 44.47 kB / 1.05 GB, free: 6.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.1608, allocations: 441.3 kB / 1.05 GB, free: 6.008 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 1.443e-06/0.1608, allocations: 0 / 1.05 GB, free: 6.008 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.0008422/0.1616, allocations: 0.586 MB / 1.051 GB, free: 5.398 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.1617, allocations: 144.8 kB / 1.051 GB, free: 5.227 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.1625, allocations: 0.7567 MB / 1.052 GB, free: 4.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.1626, allocations: 37.7 kB / 1.052 GB, free: 4.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.1628, allocations: 0.4991 MB / 1.052 GB, free: 3.902 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.163, allocations: 206.2 kB / 1.053 GB, free: 3.699 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1631, allocations: 147.9 kB / 1.053 GB, free: 3.547 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1633, allocations: 0.5082 MB / 1.053 GB, free: 3.031 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1634, allocations: 106.9 kB / 1.053 GB, free: 2.918 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.1638, allocations: 0.5788 MB / 1.054 GB, free: 2.203 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.1641, allocations: 411.7 kB / 1.054 GB, free: 1.73 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1641, allocations: 0 / 1.054 GB, free: 1.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006547/0.1648, allocations: 0.5313 MB / 1.055 GB, free: 1.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.1648, allocations: 37.69 kB / 1.055 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1648, allocations: 4.469 kB / 1.055 GB, free: 1.133 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1648, allocations: 7.938 kB / 1.055 GB, free: 1.125 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.1652, allocations: 164 kB / 1.055 GB, free: 0.9648 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1652, allocations: 7.984 kB / 1.055 GB, free: 0.957 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.1657, allocations: 147.6 kB / 1.055 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.1657, allocations: 27.98 kB / 1.055 GB, free: 0.7852 MB / 1.01 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.000202/0.1659, allocations: 234.1 kB / 1.055 GB, free: 0.5391 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1661, allocations: 119.4 kB / 1.056 GB, free: 432 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4787/0.6448, allocations: 0.5235 MB / 1.056 GB, free: 67.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.6448, allocations: 6.094 kB / 1.056 GB, free: 67.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6448, allocations: 2.438 kB / 1.056 GB, free: 67.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6448, allocations: 5.297 kB / 1.056 GB, free: 67.12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.6469, allocations: 1.882 MB / 1.058 GB, free: 66.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6469, allocations: 8.219 kB / 1.058 GB, free: 66.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.6472, allocations: 109.7 kB / 1.058 GB, free: 66.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.6472, allocations: 11.38 kB / 1.058 GB, free: 66.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.6472, allocations: 30.44 kB / 1.058 GB, free: 66.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.6472, allocations: 17.52 kB / 1.058 GB, free: 66.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6472, allocations: 13.94 kB / 1.058 GB, free: 66.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.6479, allocations: 1.041 MB / 1.059 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.6481, allocations: 216.8 kB / 1.059 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.6482, allocations: 26.02 kB / 1.059 GB, free: 65.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.6486, allocations: 76.2 kB / 1.059 GB, free: 65.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.6487, allocations: 57.28 kB / 1.059 GB, free: 65.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.6487, allocations: 35.17 kB / 1.059 GB, free: 65.47 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002579/0.649, allocations: 449 kB / 1.06 GB, free: 65.33 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/0.649, allocations: 0 / 1.06 GB, free: 65.33 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006931/0.6497, allocations: 301.1 kB / 1.06 GB, free: 65.31 MB / 1.01 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.0003117/0.65, allocations: 211.8 kB / 1.06 GB, free: 65.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.6505, allocations: 464.9 kB / 1.061 GB, free: 65.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6505, allocations: 3.469 kB / 1.061 GB, free: 65.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.6508, allocations: 283.9 kB / 1.061 GB, free: 64.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.6518, allocations: 369.9 kB / 1.061 GB, free: 64.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.6536, allocations: 1.799 MB / 1.063 GB, free: 63.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.6537, allocations: 219 kB / 1.063 GB, free: 63.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004493/0.6542, allocations: 151.6 kB / 1.064 GB, free: 63.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/0.6548, allocations: 391.5 kB / 1.064 GB, free: 63.76 MB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.6548, allocations: 0 / 1.064 GB, free: 63.76 MB / 1.01 GB Notification: Performance of Templates: time 0.01918/0.674, allocations: 17.46 MB / 1.081 GB, free: 62.25 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.599034705199301]