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.001932/0.001932, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002385/0.002385, allocations: 188.9 kB / 22.23 MB, free: 5.133 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.568/1.568, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.923/2.923, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002026/0.002026, allocations: 78.75 kB / 1.11 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4823, allocations: 168.8 MB / 1.274 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005595/0.4879, allocations: 3.122 MB / 1.277 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.4937, allocations: 3.374 MB / 1.281 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.494, allocations: 7.938 kB / 1.281 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.4958, allocations: 0.5714 MB / 1.281 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.4961, allocations: 135 kB / 1.281 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.4983, allocations: 0.714 MB / 1.282 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.5004, allocations: 1.684 MB / 1.284 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.5006, allocations: 109.8 kB / 1.284 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.5014, allocations: 0.5997 MB / 1.284 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.5023, allocations: 0.6344 MB / 1.285 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.5025, allocations: 136 kB / 1.285 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.5039, allocations: 0.7257 MB / 1.286 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007108/0.5046, allocations: 0.6272 MB / 1.286 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009955/0.5056, allocations: 0.8668 MB / 1.287 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.5098, allocations: 3.446 MB / 1.291 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5098, allocations: 0 / 1.291 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5098, allocations: 0 / 1.291 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.419e-05/0.5098, allocations: 3.938 kB / 1.291 GB, free: 10.13 MB / 0.9981 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.004346/0.5142, allocations: 2.174 MB / 1.293 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.5142, allocations: 12.03 kB / 1.293 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005866/0.5201, allocations: 0.6631 MB / 1.293 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.5235, allocations: 1.599 MB / 1.295 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.5238, allocations: 132.5 kB / 1.295 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5239, allocations: 32.36 kB / 1.295 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/0.5279, allocations: 1.884 MB / 1.297 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5279, allocations: 0 / 1.297 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.528, allocations: 27.91 kB / 1.297 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5281, allocations: 8 kB / 1.297 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/0.5338, allocations: 2.61 MB / 1.3 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.5445, allocations: 4.592 MB / 1.304 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.5547, allocations: 2.835 MB / 1.307 GB, free: 9.363 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.5572, allocations: 1.146 MB / 1.308 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.5573, allocations: 24.41 kB / 1.308 GB, free: 8.191 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003702/0.561, allocations: 1.78 MB / 1.31 GB, free: 6.395 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 3.958e-06/0.561, allocations: 0 / 1.31 GB, free: 6.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.008847/0.5699, allocations: 3.648 MB / 1.313 GB, free: 2.734 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.57, allocations: 93.61 kB / 1.313 GB, free: 2.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/0.575, allocations: 2.759 MB / 1.316 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.5752, allocations: 53.69 kB / 1.316 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.5761, allocations: 0.6933 MB / 1.317 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.5764, allocations: 198.4 kB / 1.317 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.5767, allocations: 154.1 kB / 1.317 GB, free: 14.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5769, allocations: 337.9 kB / 1.317 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/0.5798, allocations: 1.446 MB / 1.319 GB, free: 12.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/0.5826, allocations: 1.442 MB / 1.32 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/0.5873, allocations: 2.216 MB / 1.322 GB, free: 9.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5873, allocations: 0 / 1.322 GB, free: 9.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006492/0.5938, allocations: 2.985 MB / 1.325 GB, free: 6.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.5939, allocations: 79.38 kB / 1.325 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.594, allocations: 0 / 1.325 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.594, allocations: 4 kB / 1.325 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.5953, allocations: 195.6 kB / 1.326 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5953, allocations: 0 / 1.326 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.597, allocations: 107.6 kB / 1.326 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.5971, allocations: 55.86 kB / 1.326 GB, free: 5.789 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.001687/0.5988, allocations: 0.7724 MB / 1.327 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/0.5994, allocations: 190.8 kB / 1.327 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006022/0.6054, allocations: 2.679 MB / 1.329 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.6054, allocations: 8 kB / 1.329 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6054, allocations: 0 / 1.329 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6054, allocations: 7.984 kB / 1.329 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.6094, allocations: 2.291 MB / 1.332 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6094, allocations: 0 / 1.332 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.6107, allocations: 179.7 kB / 1.332 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.6107, allocations: 7.938 kB / 1.332 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.6108, allocations: 35.94 kB / 1.332 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.6109, allocations: 4 kB / 1.332 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6109, allocations: 4 kB / 1.332 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006962/0.6178, allocations: 2.566 MB / 1.334 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.6196, allocations: 0.5258 MB / 1.335 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.6199, allocations: 59.97 kB / 1.335 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.6214, allocations: 123.8 kB / 1.335 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.6217, allocations: 56.41 kB / 1.335 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.6219, allocations: 51.92 kB / 1.335 GB, free: 12.12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003852/0.6257, allocations: 1.98 MB / 1.337 GB, free: 10.11 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6257, allocations: 0 / 1.337 GB, free: 10.11 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001658/0.6274, allocations: 371.6 kB / 1.337 GB, free: 9.75 MB / 1.045 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.0007671/0.6281, allocations: 250.4 kB / 1.338 GB, free: 9.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006459/0.6346, allocations: 2.894 MB / 1.34 GB, free: 6.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6346, allocations: 0 / 1.34 GB, free: 6.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002691/0.6373, allocations: 1.283 MB / 1.342 GB, free: 5.285 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.6397, allocations: 471.9 kB / 1.342 GB, free: 4.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/0.6486, allocations: 4.246 MB / 1.346 GB, free: 0.543 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.6506, allocations: 1.596 MB / 1.348 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002235/0.6529, allocations: 0.6032 MB / 1.348 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/0.6534, allocations: 135.3 kB / 1.349 GB, free: 14.18 MB / 1.061 GB Notification: Performance of SimCode: time 1.563e-06/0.6534, allocations: 0 / 1.349 GB, free: 14.18 MB / 1.061 GB Notification: Performance of Templates: time 0.072/0.7254, allocations: 33.37 MB / 1.381 GB, free: 13.06 MB / 1.092 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.853121372871101]