Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001057/0.001057, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001154/0.001154, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9453/0.9453, allocations: 177.1 MB / 204.2 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.695/1.695, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.904e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1462/0.1462, allocations: 153.5 MB / 0.9371 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006823/0.153, allocations: 4.851 MB / 0.9418 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.1544, allocations: 63.38 kB / 0.9419 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.1554, allocations: 420.9 kB / 0.9423 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1579, allocations: 1.263 MB / 0.9435 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.1603, allocations: 1.509 MB / 0.945 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.1634, allocations: 2.97 MB / 0.9479 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.1644, allocations: 0.7365 MB / 0.9486 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.1667, allocations: 1.537 MB / 0.9501 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1677, allocations: 0.701 MB / 0.9508 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.1679, allocations: 96 kB / 0.9509 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1692, allocations: 0.7133 MB / 0.9516 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.1695, allocations: 390.6 kB / 0.9519 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.1699, allocations: 391 kB / 0.9523 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.1716, allocations: 1.367 MB / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1716, allocations: 0 / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1716, allocations: 0 / 0.9536 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.1716, allocations: 4 kB / 0.9536 GB, free: 1.441 MB / 0.9011 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.002146/0.1738, allocations: 1.59 MB / 0.9552 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1738, allocations: 15.97 kB / 0.9552 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.1751, allocations: 0.5072 MB / 0.9557 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.176, allocations: 0.91 MB / 0.9566 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.1761, allocations: 57.44 kB / 0.9566 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.1762, allocations: 68 kB / 0.9567 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1773, allocations: 0.8559 MB / 0.9575 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1773, allocations: 4 kB / 0.9575 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.1774, allocations: 24 kB / 0.9576 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.1774, allocations: 37.3 kB / 0.9576 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.1782, allocations: 421.2 kB / 0.958 GB, free: 12.8 MB / 0.9167 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.003515/0.1817, allocations: 2.76 MB / 0.9607 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.1825, allocations: 347.1 kB / 0.961 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.1827, allocations: 177.5 kB / 0.9612 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.1829, allocations: 40.47 kB / 0.9612 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.1834, allocations: 457.4 kB / 0.9617 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=57): time 3.387e-06/0.1834, allocations: 0 / 0.9617 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57): time 0.001166/0.1846, allocations: 0.6484 MB / 0.9623 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.1846, allocations: 136.9 kB / 0.9624 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.1854, allocations: 0.7961 MB / 0.9632 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.1854, allocations: 37.7 kB / 0.9633 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.1857, allocations: 0.4993 MB / 0.9637 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1858, allocations: 202.3 kB / 0.9639 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.1861, allocations: 155.9 kB / 0.9641 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1863, allocations: 0.5004 MB / 0.9646 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1865, allocations: 126.9 kB / 0.9647 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.1869, allocations: 0.5945 MB / 0.9653 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.1874, allocations: 451.8 kB / 0.9657 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1874, allocations: 0 / 0.9657 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000852/0.1883, allocations: 0.586 MB / 0.9663 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.1883, allocations: 33.7 kB / 0.9663 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1883, allocations: 4 kB / 0.9663 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1883, allocations: 7.938 kB / 0.9663 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.1888, allocations: 164.5 kB / 0.9665 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1888, allocations: 7.938 kB / 0.9665 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.1893, allocations: 151.4 kB / 0.9666 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.1894, allocations: 31.98 kB / 0.9667 GB, free: 3.449 MB / 0.9167 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.0002379/0.1896, allocations: 234.1 kB / 0.9669 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1897, allocations: 119.4 kB / 0.967 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.1905, allocations: 0.5793 MB / 0.9676 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.1905, allocations: 7.938 kB / 0.9676 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1905, allocations: 0 / 0.9676 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1905, allocations: 7.984 kB / 0.9676 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.1927, allocations: 2.048 MB / 0.9696 GB, free: 244 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1927, allocations: 8 kB / 0.9696 GB, free: 236 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.193, allocations: 107.8 kB / 0.9697 GB, free: 128 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.193, allocations: 12.47 kB / 0.9697 GB, free: 116 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.1931, allocations: 27.98 kB / 0.9697 GB, free: 88 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.1931, allocations: 12 kB / 0.9697 GB, free: 76 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1931, allocations: 11.94 kB / 0.9697 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1942, allocations: 1.104 MB / 0.9708 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.1944, allocations: 227 kB / 0.971 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/0.1945, allocations: 24 kB / 0.9711 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.1949, allocations: 63.95 kB / 0.9711 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/0.195, allocations: 71.67 kB / 0.9712 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.1951, allocations: 35.97 kB / 0.9712 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004085/0.1955, allocations: 498.8 kB / 0.9717 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1955, allocations: 0 / 0.9717 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007307/0.1962, allocations: 295.4 kB / 0.972 GB, free: 13.61 MB / 0.9323 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.0003723/0.1966, allocations: 217.4 kB / 0.9722 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000681/0.1973, allocations: 494.8 kB / 0.9727 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1973, allocations: 0 / 0.9727 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.1976, allocations: 307.6 kB / 0.973 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.1987, allocations: 409.4 kB / 0.9734 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.2011, allocations: 1.822 MB / 0.9751 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.2012, allocations: 224.4 kB / 0.9753 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000545/0.2018, allocations: 213.2 kB / 0.9755 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.202, allocations: 64.47 kB / 0.9756 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/0.202, allocations: 7.938 kB / 0.9756 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of Templates: time 0.02093/0.2229, allocations: 17.91 MB / 0.9931 GB, free: 8.199 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.480313548352569]