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.001655/0.001655, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001646/0.001646, allocations: 167.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.493/1.493, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.125/3.125, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.394e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8062/0.8062, allocations: 171.6 MB / 1.168 GB, free: 43.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009216/0.8154, allocations: 6.519 MB / 1.174 GB, free: 43.53 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.8167, allocations: 61.72 kB / 1.174 GB, free: 43.53 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.8185, allocations: 0.6965 MB / 1.175 GB, free: 43.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005919/0.8244, allocations: 2.451 MB / 1.177 GB, free: 43.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.8278, allocations: 1.504 MB / 1.179 GB, free: 43.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004019/0.8318, allocations: 2.902 MB / 1.182 GB, free: 42.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.8331, allocations: 0.656 MB / 1.182 GB, free: 42.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.8386, allocations: 1.93 MB / 1.184 GB, free: 42.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.8408, allocations: 0.7054 MB / 1.185 GB, free: 42.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005576/0.8414, allocations: 100.2 kB / 1.185 GB, free: 42.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004564/0.846, allocations: 1.68 MB / 1.187 GB, free: 42.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008646/0.8468, allocations: 389.8 kB / 1.187 GB, free: 42.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.8484, allocations: 399.9 kB / 1.187 GB, free: 42.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.8544, allocations: 2.433 MB / 1.19 GB, free: 42.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8544, allocations: 0 / 1.19 GB, free: 42.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8544, allocations: 4 kB / 1.19 GB, free: 42.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.767e-05/0.8544, allocations: 0 / 1.19 GB, free: 42.08 MB / 1.076 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.00571/0.8602, allocations: 1.563 MB / 1.191 GB, free: 41.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.8602, allocations: 9.984 kB / 1.191 GB, free: 41.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.8637, allocations: 0.5429 MB / 1.192 GB, free: 41.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.8662, allocations: 0.9331 MB / 1.193 GB, free: 40.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.8663, allocations: 56.09 kB / 1.193 GB, free: 40.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.8665, allocations: 70.36 kB / 1.193 GB, free: 40.63 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.8691, allocations: 1.241 MB / 1.194 GB, free: 40.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.8691, allocations: 2.344 kB / 1.194 GB, free: 40.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/0.8692, allocations: 26.53 kB / 1.194 GB, free: 40.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.8692, allocations: 33.98 kB / 1.194 GB, free: 40.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.8724, allocations: 1.191 MB / 1.195 GB, free: 39.62 MB / 1.076 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.005353/0.8778, allocations: 2.685 MB / 1.198 GB, free: 38.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.8795, allocations: 0.6833 MB / 1.198 GB, free: 37.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.8804, allocations: 425.5 kB / 1.199 GB, free: 37.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/0.8809, allocations: 130 kB / 1.199 GB, free: 37.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.882, allocations: 0.6505 MB / 1.2 GB, free: 37.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/0.882, allocations: 0 / 1.2 GB, free: 37.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=57): time 0.003311/0.8854, allocations: 1.266 MB / 1.201 GB, free: 36.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.8854, allocations: 142.2 kB / 1.201 GB, free: 36.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.8873, allocations: 0.8652 MB / 1.202 GB, free: 36.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.8875, allocations: 38.89 kB / 1.202 GB, free: 36.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.8878, allocations: 453.6 kB / 1.202 GB, free: 35.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.888, allocations: 202.7 kB / 1.203 GB, free: 35.72 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.8884, allocations: 140.6 kB / 1.203 GB, free: 35.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.8884, allocations: 336.3 kB / 1.203 GB, free: 35.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.8898, allocations: 475 kB / 1.203 GB, free: 35.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.8913, allocations: 0.9824 MB / 1.204 GB, free: 34.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.8936, allocations: 0.9277 MB / 1.205 GB, free: 33.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.8936, allocations: 0.75 kB / 1.205 GB, free: 33.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003448/0.897, allocations: 1.213 MB / 1.206 GB, free: 33.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.8971, allocations: 41.86 kB / 1.207 GB, free: 33.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.8971, allocations: 2.719 kB / 1.207 GB, free: 33.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/0.8971, allocations: 7.344 kB / 1.207 GB, free: 33.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.8982, allocations: 189.3 kB / 1.207 GB, free: 33.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.8982, allocations: 9.578 kB / 1.207 GB, free: 33.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.8999, allocations: 213.8 kB / 1.207 GB, free: 33.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.9, allocations: 38.94 kB / 1.207 GB, free: 33.44 MB / 1.076 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.0006677/0.9007, allocations: 329.9 kB / 1.207 GB, free: 33.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.901, allocations: 100.3 kB / 1.207 GB, free: 33.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.9032, allocations: 1.009 MB / 1.208 GB, free: 32.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.9032, allocations: 7.062 kB / 1.208 GB, free: 32.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9032, allocations: 1.062 kB / 1.208 GB, free: 32.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.9032, allocations: 4.078 kB / 1.208 GB, free: 32.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.9087, allocations: 2.934 MB / 1.211 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/0.9087, allocations: 7.312 kB / 1.211 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.9094, allocations: 124.5 kB / 1.211 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.9094, allocations: 9.469 kB / 1.211 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.9095, allocations: 30.83 kB / 1.211 GB, free: 31.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.9095, allocations: 12.86 kB / 1.211 GB, free: 31.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.9095, allocations: 11.16 kB / 1.211 GB, free: 31.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.9119, allocations: 1.342 MB / 1.213 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/0.9125, allocations: 227.5 kB / 1.213 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.9127, allocations: 27.17 kB / 1.213 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.9139, allocations: 98.94 kB / 1.213 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.9141, allocations: 59.7 kB / 1.213 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.9142, allocations: 43.86 kB / 1.213 GB, free: 30.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00135/0.9155, allocations: 0.6276 MB / 1.214 GB, free: 29.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9155, allocations: 1.188 kB / 1.214 GB, free: 29.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001476/0.917, allocations: 321.1 kB / 1.214 GB, free: 29.83 MB / 1.076 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.0007996/0.9178, allocations: 343.9 kB / 1.214 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.9205, allocations: 1.038 MB / 1.215 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.9205, allocations: 1.031 kB / 1.215 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009995/0.9215, allocations: 0.5122 MB / 1.216 GB, free: 29.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.9237, allocations: 340.2 kB / 1.216 GB, free: 28.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.9279, allocations: 1.999 MB / 1.218 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/0.9286, allocations: 479.5 kB / 1.219 GB, free: 27.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001121/0.9297, allocations: 233.8 kB / 1.219 GB, free: 27.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.93, allocations: 65.17 kB / 1.219 GB, free: 27.59 MB / 1.076 GB Notification: Performance of SimCode: time 1.383e-06/0.93, allocations: 0 / 1.219 GB, free: 27.59 MB / 1.076 GB Notification: Performance of Templates: time 0.03227/0.9623, allocations: 17.07 MB / 1.236 GB, free: 25.47 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.890255626291037]