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.001061/0.001061, 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.001152/0.001152, 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 0.9486/0.9486, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.827/1.827, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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.774e-06/1.774e-06, allocations: 0 / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.51e-05, allocations: 8.406 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1324/0.1325, allocations: 153.6 MB / 0.9616 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005998/0.1385, allocations: 4.856 MB / 0.9663 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.139, allocations: 63.44 kB / 0.9664 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007516/0.1398, allocations: 416.9 kB / 0.9668 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1415, allocations: 1.259 MB / 0.968 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1433, allocations: 1.516 MB / 0.9695 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.1458, allocations: 2.954 MB / 0.9723 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.1466, allocations: 0.7404 MB / 0.9731 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.1483, allocations: 1.514 MB / 0.9745 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.1489, allocations: 0.6815 MB / 0.9752 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.149, allocations: 99.94 kB / 0.9753 GB, free: 9.508 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.1498, allocations: 0.725 MB / 0.976 GB, free: 8.781 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.1501, allocations: 386.7 kB / 0.9764 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.1504, allocations: 383.1 kB / 0.9768 GB, free: 8.027 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1515, allocations: 1.374 MB / 0.9781 GB, free: 6.648 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1515, allocations: 0 / 0.9781 GB, free: 6.648 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1515, allocations: 0 / 0.9781 GB, free: 6.648 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.1515, allocations: 4 kB / 0.9781 GB, free: 6.645 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.001827/0.1533, allocations: 1.593 MB / 0.9797 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1534, allocations: 8.031 kB / 0.9797 GB, free: 4.996 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.1545, allocations: 0.4995 MB / 0.9801 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.1554, allocations: 0.9217 MB / 0.981 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1555, allocations: 57.38 kB / 0.9811 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.1556, allocations: 71.98 kB / 0.9812 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1566, allocations: 0.8599 MB / 0.982 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1566, allocations: 3.938 kB / 0.982 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.1567, allocations: 28 kB / 0.982 GB, free: 2.453 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.1567, allocations: 25.31 kB / 0.9821 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.1574, allocations: 421.2 kB / 0.9825 GB, free: 2.012 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.002793/0.1602, allocations: 2.764 MB / 0.9852 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.1608, allocations: 349.5 kB / 0.9855 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.161, allocations: 176.9 kB / 0.9857 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.1611, allocations: 36.48 kB / 0.9857 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.1615, allocations: 449.5 kB / 0.9861 GB, free: 14.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 1.653e-06/0.1615, allocations: 0 / 0.9861 GB, free: 14.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.0009757/0.1625, allocations: 0.6523 MB / 0.9868 GB, free: 13.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1625, allocations: 136.9 kB / 0.9869 GB, free: 13.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.1633, allocations: 0.7961 MB / 0.9877 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.1633, allocations: 41.69 kB / 0.9877 GB, free: 12.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.1636, allocations: 0.4993 MB / 0.9882 GB, free: 11.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1637, allocations: 202.3 kB / 0.9884 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.1639, allocations: 155.8 kB / 0.9885 GB, free: 11.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.164, allocations: 0.5004 MB / 0.989 GB, free: 11.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1642, allocations: 123 kB / 0.9892 GB, free: 10.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.1646, allocations: 0.61 MB / 0.9897 GB, free: 10.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.1651, allocations: 439.7 kB / 0.9902 GB, free: 9.656 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1651, allocations: 4 kB / 0.9902 GB, free: 9.652 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007683/0.1659, allocations: 0.5827 MB / 0.9907 GB, free: 9.051 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.1659, allocations: 41.69 kB / 0.9908 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1659, allocations: 4 kB / 0.9908 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.166, allocations: 8.031 kB / 0.9908 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.1664, allocations: 163.8 kB / 0.9909 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1664, allocations: 4 kB / 0.991 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.1668, allocations: 139.6 kB / 0.9911 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.1668, allocations: 35.97 kB / 0.9911 GB, free: 8.656 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.0002221/0.1671, allocations: 234.1 kB / 0.9913 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/0.1677, allocations: 111.4 kB / 0.9914 GB, free: 8.301 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.1684, allocations: 0.5853 MB / 0.992 GB, free: 7.707 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1684, allocations: 11.94 kB / 0.992 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1684, allocations: 0 / 0.992 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1684, allocations: 3.984 kB / 0.992 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.1703, allocations: 2.059 MB / 0.994 GB, free: 5.445 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1703, allocations: 8 kB / 0.9941 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.1706, allocations: 107.8 kB / 0.9942 GB, free: 5.332 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1706, allocations: 8 kB / 0.9942 GB, free: 5.324 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.1706, allocations: 24 kB / 0.9942 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.1706, allocations: 15.92 kB / 0.9942 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.1707, allocations: 16.19 kB / 0.9942 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.1715, allocations: 1.095 MB / 0.9953 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.1717, allocations: 223.1 kB / 0.9955 GB, free: 3.793 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.1718, allocations: 28 kB / 0.9955 GB, free: 3.766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.1722, allocations: 63.94 kB / 0.9956 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.1723, allocations: 63.61 kB / 0.9957 GB, free: 3.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.1723, allocations: 43.97 kB / 0.9957 GB, free: 3.598 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003745/0.1727, allocations: 494.9 kB / 0.9962 GB, free: 3.121 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1727, allocations: 0 / 0.9962 GB, free: 3.121 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005248/0.1732, allocations: 303.4 kB / 0.9965 GB, free: 2.824 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.0002952/0.1735, allocations: 229.7 kB / 0.9967 GB, free: 2.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006174/0.1741, allocations: 498.7 kB / 0.9971 GB, free: 2.074 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1741, allocations: 4 kB / 0.9972 GB, free: 2.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.1744, allocations: 291.7 kB / 0.9974 GB, free: 1.766 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.1755, allocations: 422 kB / 0.9978 GB, free: 1.363 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.178, allocations: 1.815 MB / 0.9996 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.1781, allocations: 220.4 kB / 0.9998 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004233/0.1785, allocations: 213.1 kB / 1 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.1787, allocations: 68.48 kB / 1 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of SimCode: time 9.41e-07/0.1787, allocations: 0 / 1 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of Templates: time 0.01921/0.1979, allocations: 17.9 MB / 1.018 GB, free: 13.42 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.620133742224425]