Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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.00146/0.00146, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001587/0.001587, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.636/1.636, allocations: 230.6 MB / 256 MB, free: 8.059 MB / 206.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.746/3.746, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.8 kB / 1.186 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5313, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005667/0.537, allocations: 2.865 MB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005665/0.5427, allocations: 3.08 MB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.5429, allocations: 7.938 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.5446, allocations: 0.5092 MB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.545, allocations: 138.9 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.5477, allocations: 0.7169 MB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.55, allocations: 1.674 MB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.5504, allocations: 117.8 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/0.5512, allocations: 0.5957 MB / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.5521, allocations: 0.6032 MB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.5523, allocations: 140 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.5537, allocations: 0.6788 MB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006593/0.5544, allocations: 0.6194 MB / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008382/0.5552, allocations: 0.6646 MB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.5599, allocations: 3.45 MB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5599, allocations: 0 / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5599, allocations: 0 / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.779e-05/0.5599, allocations: 4 kB / 1.379 GB, free: 13.73 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004434/0.5644, allocations: 2.166 MB / 1.381 GB, free: 11.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5644, allocations: 8.031 kB / 1.381 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00719/0.5716, allocations: 0.7216 MB / 1.382 GB, free: 10.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.5759, allocations: 1.622 MB / 1.384 GB, free: 9.098 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.5763, allocations: 199.9 kB / 1.384 GB, free: 8.879 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5764, allocations: 28.38 kB / 1.384 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.5807, allocations: 1.987 MB / 1.386 GB, free: 6.848 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5807, allocations: 0 / 1.386 GB, free: 6.848 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5808, allocations: 19.92 kB / 1.386 GB, free: 6.828 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5808, allocations: 15.98 kB / 1.386 GB, free: 6.812 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006084/0.5869, allocations: 2.737 MB / 1.389 GB, free: 4.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.5979, allocations: 4.193 MB / 1.393 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.6085, allocations: 2.961 MB / 1.396 GB, free: 12.85 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.6113, allocations: 1.222 MB / 1.397 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.6114, allocations: 20.42 kB / 1.397 GB, free: 11.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003991/0.6154, allocations: 1.871 MB / 1.399 GB, free: 9.711 MB / 1.092 GB Notification: Performance of pre-optimization done (n=61): time 4.358e-06/0.6154, allocations: 4 kB / 1.399 GB, free: 9.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=61): time 0.009348/0.6247, allocations: 3.854 MB / 1.402 GB, free: 5.824 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.6249, allocations: 97.59 kB / 1.402 GB, free: 5.711 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007241/0.6321, allocations: 2.743 MB / 1.405 GB, free: 2.922 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004071/0.6325, allocations: 53.69 kB / 1.405 GB, free: 2.863 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.6337, allocations: 0.6893 MB / 1.406 GB, free: 2.168 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.6341, allocations: 198.3 kB / 1.406 GB, free: 1.973 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/0.6345, allocations: 166 kB / 1.406 GB, free: 1.805 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6347, allocations: 333.9 kB / 1.407 GB, free: 1.473 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/0.638, allocations: 1.586 MB / 1.408 GB, free: 15.87 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.6411, allocations: 1.551 MB / 1.41 GB, free: 14.31 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/0.6465, allocations: 2.313 MB / 1.412 GB, free: 11.97 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6465, allocations: 0 / 1.412 GB, free: 11.97 MB / 1.108 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007528/0.6541, allocations: 3.192 MB / 1.415 GB, free: 8.746 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.6542, allocations: 79.38 kB / 1.415 GB, free: 8.656 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6542, allocations: 0 / 1.415 GB, free: 8.656 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.6542, allocations: 4 kB / 1.415 GB, free: 8.652 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.6558, allocations: 203.6 kB / 1.415 GB, free: 8.453 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.6558, allocations: 7.969 kB / 1.415 GB, free: 8.445 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.6579, allocations: 111.6 kB / 1.415 GB, free: 8.336 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.6581, allocations: 47.92 kB / 1.415 GB, free: 8.289 MB / 1.108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.001938/0.66, allocations: 0.7812 MB / 1.416 GB, free: 7.496 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008638/0.6609, allocations: 190.8 kB / 1.416 GB, free: 7.309 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007184/0.6681, allocations: 2.829 MB / 1.419 GB, free: 4.449 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6681, allocations: 4 kB / 1.419 GB, free: 4.445 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6681, allocations: 0 / 1.419 GB, free: 4.445 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6681, allocations: 7.984 kB / 1.419 GB, free: 4.438 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.6723, allocations: 1.904 MB / 1.421 GB, free: 2.496 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.6723, allocations: 0 / 1.421 GB, free: 2.496 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.6738, allocations: 191.7 kB / 1.421 GB, free: 2.309 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.6739, allocations: 4 kB / 1.421 GB, free: 2.305 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.674, allocations: 39.94 kB / 1.421 GB, free: 2.266 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.674, allocations: 0 / 1.421 GB, free: 2.266 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.674, allocations: 4 kB / 1.421 GB, free: 2.262 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/0.6805, allocations: 2.704 MB / 1.424 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/0.6824, allocations: 0.5452 MB / 1.424 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/0.6831, allocations: 59.97 kB / 1.424 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.6852, allocations: 123.8 kB / 1.425 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.6854, allocations: 56.41 kB / 1.425 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/0.6855, allocations: 55.92 kB / 1.425 GB, free: 14.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004574/0.6901, allocations: 1.971 MB / 1.427 GB, free: 12.69 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6901, allocations: 0 / 1.427 GB, free: 12.69 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001816/0.6919, allocations: 375.7 kB / 1.427 GB, free: 12.32 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.0008731/0.6928, allocations: 241.5 kB / 1.427 GB, free: 12.08 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006701/0.6995, allocations: 3.083 MB / 1.43 GB, free: 8.953 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6995, allocations: 0 / 1.43 GB, free: 8.953 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003011/0.7025, allocations: 1.37 MB / 1.432 GB, free: 7.566 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.7053, allocations: 488.8 kB / 1.432 GB, free: 7.09 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7157, allocations: 4.306 MB / 1.436 GB, free: 2.738 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.7174, allocations: 1.008 MB / 1.437 GB, free: 1.691 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002459/0.7198, allocations: 0.6304 MB / 1.438 GB, free: 1.059 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/0.7207, allocations: 143.3 kB / 1.438 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of SimCode: time 1.453e-06/0.7207, allocations: 0 / 1.438 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of Templates: time 0.07194/0.7926, allocations: 37.35 MB / 1.474 GB, free: 11.85 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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: 11.879769522696733]