Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.09 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.9391, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005791/0.9449, allocations: 3.127 MB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005837/0.9507, allocations: 3.37 MB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.9511, allocations: 7.938 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.9529, allocations: 0.5637 MB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.9535, allocations: 138.9 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.9557, allocations: 0.704 MB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002435/0.9582, allocations: 1.677 MB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.9585, allocations: 113.3 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.9596, allocations: 0.5879 MB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.9605, allocations: 0.6305 MB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.9607, allocations: 140 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.962, allocations: 0.6594 MB / 1.285 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006404/0.9626, allocations: 0.6234 MB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009595/0.9636, allocations: 0.8668 MB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.9677, allocations: 3.457 MB / 1.29 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9677, allocations: 0 / 1.29 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9677, allocations: 0 / 1.29 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.974e-05/0.9678, allocations: 0 / 1.29 GB, free: 3.809 MB / 0.9825 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.004363/0.9721, allocations: 2.237 MB / 1.292 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.9722, allocations: 12.03 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006554/0.9787, allocations: 0.6514 MB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/0.9825, allocations: 1.649 MB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.9827, allocations: 132.5 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.9829, allocations: 32.38 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/0.987, allocations: 1.888 MB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.987, allocations: 0 / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.9872, allocations: 12 kB / 1.297 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.9872, allocations: 8 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.9931, allocations: 2.622 MB / 1.299 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/1.003, allocations: 4.597 MB / 1.304 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/1.014, allocations: 2.842 MB / 1.307 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/1.017, allocations: 1.15 MB / 1.308 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/1.017, allocations: 20.41 kB / 1.308 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004095/1.021, allocations: 1.777 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 3.887e-06/1.021, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.01001/1.031, allocations: 3.654 MB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.031, allocations: 93.61 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006572/1.038, allocations: 2.755 MB / 1.316 GB, free: 9.332 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003881/1.038, allocations: 57.69 kB / 1.316 GB, free: 9.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.039, allocations: 0.6972 MB / 1.317 GB, free: 8.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/1.04, allocations: 198.4 kB / 1.317 GB, free: 8.375 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/1.04, allocations: 158.1 kB / 1.317 GB, free: 8.215 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.041, allocations: 329.9 kB / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/1.044, allocations: 1.45 MB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.047, allocations: 1.438 MB / 1.32 GB, free: 4.996 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005247/1.052, allocations: 2.207 MB / 1.322 GB, free: 2.766 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.052, allocations: 0 / 1.322 GB, free: 2.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006911/1.059, allocations: 2.996 MB / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.059, allocations: 79.38 kB / 1.325 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.059, allocations: 0 / 1.325 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.059, allocations: 4 kB / 1.325 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.06, allocations: 179.7 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.06, allocations: 11.98 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.062, allocations: 111.6 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.062, allocations: 43.94 kB / 1.326 GB, free: 15.31 MB / 1.029 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.001702/1.064, allocations: 0.7801 MB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008428/1.065, allocations: 186.8 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006748/1.072, allocations: 2.677 MB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.072, allocations: 4 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.072, allocations: 0 / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.072, allocations: 3.984 kB / 1.329 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/1.076, allocations: 2.323 MB / 1.331 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.076, allocations: 4 kB / 1.331 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.077, allocations: 187.7 kB / 1.332 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.077, allocations: 3.938 kB / 1.332 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.077, allocations: 43.92 kB / 1.332 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/1.077, allocations: 0 / 1.332 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.077, allocations: 0 / 1.332 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006546/1.084, allocations: 2.572 MB / 1.334 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.086, allocations: 0.5854 MB / 1.335 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006477/1.086, allocations: 59.97 kB / 1.335 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.088, allocations: 123.8 kB / 1.335 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.089, allocations: 56.48 kB / 1.335 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.089, allocations: 47.94 kB / 1.335 GB, free: 5.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004546/1.093, allocations: 1.976 MB / 1.337 GB, free: 3.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.093, allocations: 0 / 1.337 GB, free: 3.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001918/1.095, allocations: 371.6 kB / 1.337 GB, free: 3.168 MB / 1.029 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.001021/1.096, allocations: 262.8 kB / 1.337 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006704/1.103, allocations: 2.888 MB / 1.34 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.103, allocations: 0 / 1.34 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.106, allocations: 1.287 MB / 1.342 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.109, allocations: 474.3 kB / 1.342 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.119, allocations: 4.257 MB / 1.346 GB, free: 9.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/1.122, allocations: 1.6 MB / 1.348 GB, free: 8.301 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002479/1.124, allocations: 0.5993 MB / 1.348 GB, free: 7.699 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000874/1.125, allocations: 135.3 kB / 1.348 GB, free: 7.566 MB / 1.045 GB Notification: Performance of SimCode: time 1.964e-06/1.125, allocations: 0 / 1.348 GB, free: 7.566 MB / 1.045 GB Notification: Performance of Templates: time 0.06568/1.191, allocations: 33.21 MB / 1.381 GB, free: 6.613 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.004254037048668]