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.0009244/0.0009244, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009018/0.0009018, allocations: 181 kB / 23.36 MB, free: 1.133 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.9958/0.9958, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.3/2.3, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.213e-06/1.213e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.576e-05, allocations: 12.5 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1314/0.1314, allocations: 152.8 MB / 0.9878 GB, free: 4.762 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006923/0.1384, allocations: 4.879 MB / 0.9926 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1395, allocations: 59.44 kB / 0.9926 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000863/0.1404, allocations: 416.8 kB / 0.993 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.1427, allocations: 1.239 MB / 0.9942 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.145, allocations: 1.487 MB / 0.9957 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.1483, allocations: 2.857 MB / 0.9985 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.1493, allocations: 0.701 MB / 0.9992 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.1516, allocations: 1.492 MB / 1.001 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.1524, allocations: 0.6386 MB / 1.001 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.1526, allocations: 96 kB / 1.001 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1536, allocations: 0.7249 MB / 1.002 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.1538, allocations: 378.7 kB / 1.002 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.1542, allocations: 383.1 kB / 1.003 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1557, allocations: 1.363 MB / 1.004 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1557, allocations: 4 kB / 1.004 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1557, allocations: 0 / 1.004 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.1557, allocations: 0 / 1.004 GB, free: 4.066 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.001751/0.1574, allocations: 1.429 MB / 1.006 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1575, allocations: 8.625 kB / 1.006 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1585, allocations: 472.1 kB / 1.006 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.1593, allocations: 0.6732 MB / 1.007 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.1593, allocations: 61.44 kB / 1.007 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.1594, allocations: 68 kB / 1.007 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.1602, allocations: 0.7923 MB / 1.008 GB, free: 456 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1603, allocations: 4 kB / 1.008 GB, free: 452 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.1603, allocations: 24 kB / 1.008 GB, free: 428 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.1603, allocations: 37.3 kB / 1.008 GB, free: 392 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1608, allocations: 313.6 kB / 1.008 GB, free: 68 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.002512/0.1633, allocations: 1.932 MB / 1.01 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.1638, allocations: 354.5 kB / 1.01 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.164, allocations: 144.5 kB / 1.01 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.1641, allocations: 44.47 kB / 1.01 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.1645, allocations: 418 kB / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=57): time 2.425e-06/0.1645, allocations: 0 / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57): time 0.0007937/0.1653, allocations: 486.8 kB / 1.011 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1654, allocations: 144.8 kB / 1.011 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.1659, allocations: 0.6833 MB / 1.012 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.166, allocations: 37.7 kB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1662, allocations: 342.4 kB / 1.012 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1663, allocations: 198.3 kB / 1.013 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.1665, allocations: 130.2 kB / 1.013 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1666, allocations: 329.9 kB / 1.013 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1667, allocations: 109.8 kB / 1.013 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.1671, allocations: 0.5167 MB / 1.014 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.1675, allocations: 387.4 kB / 1.014 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1675, allocations: 0 / 1.014 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005404/0.168, allocations: 414.4 kB / 1.014 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.1681, allocations: 41.69 kB / 1.014 GB, free: 8.992 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1681, allocations: 4 kB / 1.014 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1681, allocations: 8 kB / 1.014 GB, free: 8.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.1685, allocations: 155.7 kB / 1.015 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1685, allocations: 11.94 kB / 1.015 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.1689, allocations: 139.5 kB / 1.015 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.169, allocations: 31.97 kB / 1.015 GB, free: 8.648 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.000229/0.1692, allocations: 195.9 kB / 1.015 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.1693, allocations: 75.92 kB / 1.015 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.1698, allocations: 450.9 kB / 1.015 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1698, allocations: 8 kB / 1.015 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1699, allocations: 3.938 kB / 1.015 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1699, allocations: 3.984 kB / 1.015 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.1715, allocations: 1.654 MB / 1.017 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1715, allocations: 8 kB / 1.017 GB, free: 6.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.1717, allocations: 103.8 kB / 1.017 GB, free: 5.969 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1717, allocations: 8 kB / 1.017 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.1717, allocations: 24.39 kB / 1.017 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.1718, allocations: 16 kB / 1.017 GB, free: 5.922 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.1718, allocations: 11.94 kB / 1.017 GB, free: 5.91 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.1724, allocations: 0.9157 MB / 1.018 GB, free: 4.836 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.1726, allocations: 167.1 kB / 1.018 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.1727, allocations: 23.98 kB / 1.018 GB, free: 4.648 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.1731, allocations: 63.95 kB / 1.018 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.1731, allocations: 67.67 kB / 1.018 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.1732, allocations: 31.97 kB / 1.018 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002346/0.1734, allocations: 316.5 kB / 1.019 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1734, allocations: 0 / 1.019 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006482/0.1741, allocations: 295.4 kB / 1.019 GB, free: 3.891 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.0003166/0.1744, allocations: 210.9 kB / 1.019 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.1749, allocations: 427.4 kB / 1.02 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.1749, allocations: 12 kB / 1.02 GB, free: 3.223 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1751, allocations: 269.4 kB / 1.02 GB, free: 2.938 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009465/0.1761, allocations: 364.7 kB / 1.02 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1783, allocations: 1.742 MB / 1.022 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.1784, allocations: 220.2 kB / 1.022 GB, free: 468 kB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004411/0.1789, allocations: 144.9 kB / 1.022 GB, free: 324 kB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/0.1795, allocations: 335 kB / 1.023 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of SimCode: time 1.403e-06/0.1795, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of Templates: time 0.02095/0.2005, allocations: 17.15 MB / 1.039 GB, free: 15.18 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 -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.110740625765175]