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.001117/0.001117, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.000982/0.000982, allocations: 165.4 kB / 24.87 MB, free: 9.27 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 0.9757/0.9757, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.84 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.443e-06/1.443e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.585e-05, allocations: 5.484 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1319/0.1319, allocations: 150.7 MB / 0.9355 GB, free: 5 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006818/0.1387, allocations: 4.811 MB / 0.9402 GB, free: 184 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.14, allocations: 67.38 kB / 0.9403 GB, free: 116 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1411, allocations: 420.9 kB / 0.9407 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.144, allocations: 1.259 MB / 0.9419 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.1468, allocations: 1.526 MB / 0.9434 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003699/0.1505, allocations: 2.962 MB / 0.9463 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.1516, allocations: 0.7404 MB / 0.947 GB, free: 9.191 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.1538, allocations: 1.532 MB / 0.9485 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009002/0.1547, allocations: 0.6971 MB / 0.9492 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.1549, allocations: 96 kB / 0.9493 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.1558, allocations: 0.721 MB / 0.95 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.1561, allocations: 390.7 kB / 0.9503 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.1564, allocations: 387.1 kB / 0.9507 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.1577, allocations: 1.371 MB / 0.952 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1577, allocations: 0 / 0.952 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1577, allocations: 0 / 0.952 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.1578, allocations: 0 / 0.952 GB, free: 4.059 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.002115/0.1599, allocations: 1.601 MB / 0.9536 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1599, allocations: 12.03 kB / 0.9536 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.1613, allocations: 0.4994 MB / 0.9541 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.1622, allocations: 0.91 MB / 0.955 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.1623, allocations: 61.44 kB / 0.9551 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.1624, allocations: 64 kB / 0.9551 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1634, allocations: 0.8051 MB / 0.9559 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1634, allocations: 7.984 kB / 0.9559 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.1635, allocations: 24 kB / 0.9559 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.1635, allocations: 33.31 kB / 0.956 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.1641, allocations: 347.7 kB / 0.9563 GB, free: 15.54 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.002809/0.1669, allocations: 2.604 MB / 0.9588 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.1674, allocations: 315.1 kB / 0.9591 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1675, allocations: 150.8 kB / 0.9593 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.1676, allocations: 44.48 kB / 0.9593 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.168, allocations: 437.3 kB / 0.9597 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=57): time 1.262e-06/0.168, allocations: 0 / 0.9597 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57): time 0.0008246/0.1689, allocations: 0.5899 MB / 0.9603 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1689, allocations: 144.8 kB / 0.9605 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.1695, allocations: 0.7762 MB / 0.9612 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.1696, allocations: 37.7 kB / 0.9612 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.1698, allocations: 0.507 MB / 0.9617 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1699, allocations: 202.3 kB / 0.9619 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.1701, allocations: 159.7 kB / 0.9621 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1702, allocations: 0.5004 MB / 0.9626 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1704, allocations: 110.9 kB / 0.9627 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.1708, allocations: 0.5788 MB / 0.9632 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1711, allocations: 408.1 kB / 0.9636 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1711, allocations: 0 / 0.9636 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006558/0.1718, allocations: 0.5434 MB / 0.9642 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.1718, allocations: 37.7 kB / 0.9642 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1718, allocations: 4 kB / 0.9642 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/0.1718, allocations: 4 kB / 0.9642 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.1722, allocations: 167.7 kB / 0.9644 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1722, allocations: 4 kB / 0.9644 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.1727, allocations: 139.6 kB / 0.9645 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.1727, allocations: 27.98 kB / 0.9645 GB, free: 6.613 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.0002191/0.1729, allocations: 238 kB / 0.9648 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.1731, allocations: 123.4 kB / 0.9649 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.1737, allocations: 0.5302 MB / 0.9654 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1737, allocations: 4 kB / 0.9654 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1737, allocations: 11.94 kB / 0.9654 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1737, allocations: 7.922 kB / 0.9654 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.1755, allocations: 1.877 MB / 0.9673 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1755, allocations: 8 kB / 0.9673 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.1758, allocations: 107.8 kB / 0.9674 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1758, allocations: 8 kB / 0.9674 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.1758, allocations: 32.3 kB / 0.9674 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1758, allocations: 19.92 kB / 0.9674 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1758, allocations: 15.94 kB / 0.9674 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.1767, allocations: 1.057 MB / 0.9685 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.1769, allocations: 223 kB / 0.9687 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.177, allocations: 20 kB / 0.9687 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.1774, allocations: 67.94 kB / 0.9688 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.1774, allocations: 67.69 kB / 0.9688 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.1775, allocations: 31.97 kB / 0.9689 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002907/0.1778, allocations: 458.8 kB / 0.9693 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1778, allocations: 0 / 0.9693 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005902/0.1784, allocations: 295.4 kB / 0.9696 GB, free: 1.074 MB / 0.9167 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.0002994/0.1787, allocations: 222.8 kB / 0.9698 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.1792, allocations: 462.4 kB / 0.9702 GB, free: 376 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1792, allocations: 0 / 0.9702 GB, free: 376 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.1794, allocations: 284.2 kB / 0.9705 GB, free: 72 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.1805, allocations: 427 kB / 0.9709 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1824, allocations: 1.815 MB / 0.9727 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.1826, allocations: 216.4 kB / 0.9729 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.183, allocations: 157.8 kB / 0.973 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.1836, allocations: 405.8 kB / 0.9734 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.1836, allocations: 0 / 0.9734 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of Templates: time 0.02061/0.2042, allocations: 18.29 MB / 0.9913 GB, free: 10.99 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.7048967378214]