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.001426/0.001426, 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.001846/0.001846, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.963/1.963, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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 2.074e-06/2.074e-06, allocations: 0 / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.752e-05, allocations: 2.312 kB / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1341/0.1341, allocations: 150.7 MB / 0.96 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006575/0.1407, allocations: 4.825 MB / 0.9647 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.1418, allocations: 63.44 kB / 0.9648 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009362/0.1427, allocations: 416.9 kB / 0.9652 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.1449, allocations: 1.251 MB / 0.9664 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1473, allocations: 1.519 MB / 0.9679 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003814/0.1511, allocations: 2.962 MB / 0.9708 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1523, allocations: 0.7404 MB / 0.9715 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.1552, allocations: 1.532 MB / 0.973 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009921/0.1562, allocations: 0.6815 MB / 0.9736 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.1563, allocations: 96 kB / 0.9737 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.1576, allocations: 0.7172 MB / 0.9744 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.158, allocations: 386.7 kB / 0.9748 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.1585, allocations: 391 kB / 0.9752 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.1606, allocations: 1.374 MB / 0.9765 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1606, allocations: 0 / 0.9765 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1606, allocations: 0 / 0.9765 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.1606, allocations: 0 / 0.9765 GB, free: 8.156 MB / 0.8855 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.002041/0.1626, allocations: 1.597 MB / 0.9781 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1627, allocations: 16.02 kB / 0.9781 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1639, allocations: 0.5033 MB / 0.9786 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009494/0.1649, allocations: 0.8982 MB / 0.9795 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.1649, allocations: 61.44 kB / 0.9795 GB, free: 5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.165, allocations: 75.98 kB / 0.9796 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.166, allocations: 0.7934 MB / 0.9804 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.166, allocations: 7.922 kB / 0.9804 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.166, allocations: 28 kB / 0.9804 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.1661, allocations: 29.31 kB / 0.9804 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1666, allocations: 343.8 kB / 0.9808 GB, free: 3.66 MB / 0.8855 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.002804/0.1694, allocations: 2.624 MB / 0.9833 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.1699, allocations: 314.9 kB / 0.9836 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.1701, allocations: 154.8 kB / 0.9838 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.1702, allocations: 48.47 kB / 0.9838 GB, free: 464 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.1706, allocations: 429.4 kB / 0.9842 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 1.513e-06/0.1706, allocations: 0 / 0.9842 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.0009038/0.1715, allocations: 0.5899 MB / 0.9848 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1715, allocations: 144.8 kB / 0.9849 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.1722, allocations: 0.7723 MB / 0.9857 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.1722, allocations: 37.7 kB / 0.9857 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.1725, allocations: 0.5031 MB / 0.9862 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1726, allocations: 210.3 kB / 0.9864 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.1728, allocations: 147.8 kB / 0.9866 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1729, allocations: 0.5082 MB / 0.9871 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.1731, allocations: 110.9 kB / 0.9872 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1734, allocations: 0.5748 MB / 0.9877 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.1738, allocations: 412.1 kB / 0.9881 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1738, allocations: 4 kB / 0.9881 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006693/0.1745, allocations: 0.539 MB / 0.9887 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.1745, allocations: 41.69 kB / 0.9887 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1745, allocations: 4 kB / 0.9887 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1745, allocations: 8.344 kB / 0.9887 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.1749, allocations: 159.7 kB / 0.9889 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.175, allocations: 7.984 kB / 0.9889 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.1754, allocations: 139.6 kB / 0.989 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.1755, allocations: 31.97 kB / 0.989 GB, free: 10.71 MB / 0.9011 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.0002302/0.1757, allocations: 234.1 kB / 0.9892 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1758, allocations: 115.4 kB / 0.9894 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.1765, allocations: 0.5307 MB / 0.9899 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1765, allocations: 8 kB / 0.9899 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1765, allocations: 7.922 kB / 0.9899 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1765, allocations: 0 / 0.9899 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.1785, allocations: 1.892 MB / 0.9917 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.1785, allocations: 4 kB / 0.9917 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1787, allocations: 111.9 kB / 0.9919 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.1787, allocations: 12 kB / 0.9919 GB, free: 7.602 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.1788, allocations: 23.98 kB / 0.9919 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.1788, allocations: 15.94 kB / 0.9919 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1788, allocations: 11.94 kB / 0.9919 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.1796, allocations: 1.064 MB / 0.993 GB, free: 6.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.1799, allocations: 231 kB / 0.9932 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.18, allocations: 24 kB / 0.9932 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.1804, allocations: 63.95 kB / 0.9933 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.1805, allocations: 63.73 kB / 0.9933 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.1805, allocations: 35.97 kB / 0.9933 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003096/0.1808, allocations: 454.8 kB / 0.9938 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1808, allocations: 0 / 0.9938 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007254/0.1815, allocations: 303.4 kB / 0.9941 GB, free: 5.172 MB / 0.9011 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.0003484/0.1819, allocations: 226.7 kB / 0.9943 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005664/0.1825, allocations: 458.2 kB / 0.9947 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1825, allocations: 0.6875 kB / 0.9947 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.1827, allocations: 290.6 kB / 0.995 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.1839, allocations: 403.3 kB / 0.9954 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.186, allocations: 1.815 MB / 0.9972 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.1862, allocations: 220.4 kB / 0.9974 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.1867, allocations: 145.3 kB / 0.9975 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/0.1874, allocations: 413.8 kB / 0.9979 GB, free: 1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.282e-06/0.1874, allocations: 0 / 0.9979 GB, free: 1 MB / 0.9011 GB Notification: Performance of Templates: time 0.02147/0.2088, allocations: 18.29 MB / 1.016 GB, free: 15.11 MB / 0.9323 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: 6.360773963853717]