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.001568/0.001568, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001091/0.001091, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.065/1.065, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.502e-06/1.502e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.065e-05, allocations: 8.703 kB / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1379/0.138, allocations: 153.6 MB / 0.9615 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006547/0.1445, allocations: 4.843 MB / 0.9663 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.1451, allocations: 67.38 kB / 0.9663 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000821/0.146, allocations: 428.8 kB / 0.9668 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1477, allocations: 1.251 MB / 0.968 GB, free: 0.9961 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.1497, allocations: 1.506 MB / 0.9694 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002232/0.1519, allocations: 2.966 MB / 0.9723 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008881/0.1528, allocations: 0.7326 MB / 0.9731 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1542, allocations: 1.317 MB / 0.9743 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007802/0.1549, allocations: 0.7387 MB / 0.9751 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1551, allocations: 96 kB / 0.9752 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1561, allocations: 0.8184 MB / 0.976 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.1564, allocations: 394.7 kB / 0.9763 GB, free: 8.449 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.1567, allocations: 403 kB / 0.9767 GB, free: 8.055 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1579, allocations: 1.41 MB / 0.9781 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1579, allocations: 0 / 0.9781 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1579, allocations: 0 / 0.9781 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.1579, allocations: 4 kB / 0.9781 GB, free: 6.637 MB / 0.9323 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.001944/0.1599, allocations: 1.613 MB / 0.9797 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1599, allocations: 8.031 kB / 0.9797 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.1611, allocations: 0.5111 MB / 0.9802 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1624, allocations: 1.001 MB / 0.9812 GB, free: 3.426 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.1624, allocations: 57.25 kB / 0.9812 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.1625, allocations: 75.92 kB / 0.9813 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1636, allocations: 0.8482 MB / 0.9821 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1636, allocations: 7.938 kB / 0.9821 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.1637, allocations: 28 kB / 0.9821 GB, free: 2.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.1637, allocations: 33.31 kB / 0.9822 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.1643, allocations: 417.2 kB / 0.9826 GB, free: 1.895 MB / 0.9323 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.002658/0.167, allocations: 2.737 MB / 0.9852 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.1676, allocations: 351 kB / 0.9856 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.1679, allocations: 174.8 kB / 0.9857 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.168, allocations: 44.47 kB / 0.9858 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.1684, allocations: 449.5 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 1.873e-06/0.1684, allocations: 0 / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001076/0.1695, allocations: 0.6445 MB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1695, allocations: 144.9 kB / 0.987 GB, free: 13.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/0.1703, allocations: 0.7923 MB / 0.9878 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.1703, allocations: 37.7 kB / 0.9878 GB, free: 12.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1706, allocations: 0.5032 MB / 0.9883 GB, free: 11.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1707, allocations: 202.3 kB / 0.9885 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1709, allocations: 151.9 kB / 0.9886 GB, free: 11.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.171, allocations: 0.5004 MB / 0.9891 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.1712, allocations: 130.9 kB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.1716, allocations: 0.6674 MB / 0.9899 GB, free: 9.973 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.1721, allocations: 443.8 kB / 0.9903 GB, free: 9.469 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1721, allocations: 4 kB / 0.9903 GB, free: 9.465 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007538/0.1729, allocations: 0.5786 MB / 0.9909 GB, free: 8.867 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1729, allocations: 37.7 kB / 0.9909 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1729, allocations: 4.375 kB / 0.9909 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1729, allocations: 15.98 kB / 0.9909 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1733, allocations: 159.8 kB / 0.9911 GB, free: 8.648 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1733, allocations: 11.98 kB / 0.9911 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.1737, allocations: 139.6 kB / 0.9912 GB, free: 8.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.1738, allocations: 35.98 kB / 0.9913 GB, free: 8.465 MB / 0.948 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.0002003/0.174, allocations: 230.1 kB / 0.9915 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.1741, allocations: 119.4 kB / 0.9916 GB, free: 8.105 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007258/0.1748, allocations: 0.5851 MB / 0.9922 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1748, allocations: 7.938 kB / 0.9922 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1748, allocations: 4 kB / 0.9922 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1749, allocations: 7.984 kB / 0.9922 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.1769, allocations: 2.052 MB / 0.9942 GB, free: 5.254 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1769, allocations: 8 kB / 0.9942 GB, free: 5.246 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.1772, allocations: 107.8 kB / 0.9943 GB, free: 5.141 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.1772, allocations: 12 kB / 0.9943 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.1772, allocations: 23.98 kB / 0.9943 GB, free: 5.105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.1772, allocations: 15.94 kB / 0.9944 GB, free: 5.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1772, allocations: 15.92 kB / 0.9944 GB, free: 5.074 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.178, allocations: 1.092 MB / 0.9954 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.1783, allocations: 223 kB / 0.9956 GB, free: 3.602 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.1784, allocations: 24 kB / 0.9957 GB, free: 3.578 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.1788, allocations: 63.95 kB / 0.9957 GB, free: 3.516 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.1789, allocations: 71.59 kB / 0.9958 GB, free: 3.445 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.1789, allocations: 35.97 kB / 0.9958 GB, free: 3.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000396/0.1793, allocations: 0.4911 MB / 0.9963 GB, free: 2.926 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 0.9963 GB, free: 2.926 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005385/0.1798, allocations: 291.4 kB / 0.9966 GB, free: 2.641 MB / 0.948 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.0003026/0.1801, allocations: 226.7 kB / 0.9968 GB, free: 2.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006259/0.1808, allocations: 494.8 kB / 0.9973 GB, free: 1.898 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1808, allocations: 4 kB / 0.9973 GB, free: 1.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.1811, allocations: 299.5 kB / 0.9976 GB, free: 1.582 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.1821, allocations: 414.1 kB / 0.998 GB, free: 1.188 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.1841, allocations: 1.836 MB / 0.9998 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.1842, allocations: 220.4 kB / 1 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005724/0.1848, allocations: 213.4 kB / 1 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.185, allocations: 68.47 kB / 1 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.185, allocations: 0 / 1 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of Templates: time 0.01774/0.2027, allocations: 16.45 MB / 1.016 GB, free: 14.55 MB / 0.9792 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.9247503858059645]