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.000997/0.000997, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001032/0.001032, allocations: 181 kB / 23.36 MB, free: 1.129 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.9759/0.9759, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.386/2.386, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.232e-06/1.232e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.918e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1432/0.1432, allocations: 152.9 MB / 0.9879 GB, free: 4.762 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.007339/0.1505, allocations: 4.866 MB / 0.9927 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009476/0.1515, allocations: 59.44 kB / 0.9927 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.1522, allocations: 416.9 kB / 0.9931 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.1543, allocations: 1.239 MB / 0.9943 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.1569, allocations: 1.472 MB / 0.9958 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.1601, allocations: 2.853 MB / 0.9985 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1615, allocations: 0.8027 MB / 0.9993 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.1634, allocations: 1.471 MB / 1.001 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.1641, allocations: 0.6347 MB / 1.001 GB, free: 7 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1642, allocations: 96 kB / 1.001 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1653, allocations: 0.7484 MB / 1.002 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.1658, allocations: 382.7 kB / 1.003 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.1661, allocations: 387 kB / 1.003 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1675, allocations: 1.367 MB / 1.004 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1675, allocations: 0 / 1.004 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1675, allocations: 0 / 1.004 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.1675, allocations: 0 / 1.004 GB, free: 4.031 MB / 0.9636 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.001649/0.1691, allocations: 1.426 MB / 1.006 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1692, allocations: 8.625 kB / 1.006 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1702, allocations: 476.1 kB / 1.006 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.171, allocations: 0.6731 MB / 1.007 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.171, allocations: 61.44 kB / 1.007 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.1711, allocations: 71.98 kB / 1.007 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.1719, allocations: 0.7884 MB / 1.008 GB, free: 420 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1719, allocations: 0 / 1.008 GB, free: 420 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.172, allocations: 28 kB / 1.008 GB, free: 392 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.172, allocations: 33.31 kB / 1.008 GB, free: 360 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1725, allocations: 321.5 kB / 1.008 GB, free: 28 kB / 0.9636 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.002284/0.1747, allocations: 1.939 MB / 1.01 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.1753, allocations: 358.4 kB / 1.01 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1754, allocations: 142.8 kB / 1.01 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1755, allocations: 36.48 kB / 1.01 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.1759, allocations: 418 kB / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=57): time 1.663e-06/0.1759, allocations: 0 / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57): time 0.0007383/0.1766, allocations: 490.3 kB / 1.011 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1767, allocations: 144.8 kB / 1.011 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.1772, allocations: 0.6755 MB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1772, allocations: 41.7 kB / 1.012 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1774, allocations: 338.5 kB / 1.012 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1775, allocations: 194.2 kB / 1.013 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.1777, allocations: 138.1 kB / 1.013 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.1778, allocations: 329.9 kB / 1.013 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.178, allocations: 105.8 kB / 1.013 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.1783, allocations: 0.5245 MB / 1.014 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.1786, allocations: 375.4 kB / 1.014 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1786, allocations: 0 / 1.014 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004813/0.1791, allocations: 418.8 kB / 1.014 GB, free: 9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.1791, allocations: 41.64 kB / 1.015 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1791, allocations: 4 kB / 1.015 GB, free: 8.949 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1792, allocations: 11.98 kB / 1.015 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1795, allocations: 155.8 kB / 1.015 GB, free: 8.785 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1796, allocations: 15.88 kB / 1.015 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.18, allocations: 139.5 kB / 1.015 GB, free: 8.633 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.18, allocations: 35.98 kB / 1.015 GB, free: 8.598 MB / 0.9792 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.0001912/0.1802, allocations: 196.9 kB / 1.015 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.1803, allocations: 71.92 kB / 1.015 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.1808, allocations: 451.3 kB / 1.016 GB, free: 7.867 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1808, allocations: 8 kB / 1.016 GB, free: 7.859 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.1808, allocations: 3.938 kB / 1.016 GB, free: 7.855 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1808, allocations: 7.984 kB / 1.016 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.1826, allocations: 1.65 MB / 1.017 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1826, allocations: 11.98 kB / 1.017 GB, free: 6.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.1829, allocations: 107.8 kB / 1.017 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1829, allocations: 12.47 kB / 1.017 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.1829, allocations: 23.98 kB / 1.017 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.1829, allocations: 15.94 kB / 1.017 GB, free: 5.863 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1829, allocations: 11.98 kB / 1.017 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.1835, allocations: 0.9236 MB / 1.018 GB, free: 4.766 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.1837, allocations: 167.1 kB / 1.018 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.1838, allocations: 20 kB / 1.018 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.1842, allocations: 71.94 kB / 1.019 GB, free: 4.512 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1842, allocations: 59.69 kB / 1.019 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.1843, allocations: 31.97 kB / 1.019 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002372/0.1845, allocations: 320.5 kB / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1845, allocations: 0 / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006165/0.1851, allocations: 303.4 kB / 1.019 GB, free: 3.812 MB / 0.9792 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.0002975/0.1854, allocations: 192 kB / 1.019 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.1859, allocations: 431.3 kB / 1.02 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.1859, allocations: 8 kB / 1.02 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.1862, allocations: 272 kB / 1.02 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.1871, allocations: 366.4 kB / 1.02 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.1891, allocations: 1.736 MB / 1.022 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.1893, allocations: 212.3 kB / 1.022 GB, free: 412 kB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.1897, allocations: 151 kB / 1.022 GB, free: 264 kB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008749/0.1906, allocations: 334.9 kB / 1.023 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of SimCode: time 9.62e-07/0.1906, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of Templates: time 0.02003/0.2106, allocations: 17.15 MB / 1.04 GB, free: 15.12 MB / 1.01 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.266114125028253]