Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001734/0.001734, allocations: 110.5 kB / 16.46 MB, free: 6.508 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.002037/0.002037, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.569/1.569, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.411/3.411, allocations: 0.4899 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.002066/0.002066, allocations: 70.33 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4301, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005121/0.4352, allocations: 3.12 MB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00533/0.4406, allocations: 3.383 MB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.4408, allocations: 7.938 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4423, allocations: 0.5598 MB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.4427, allocations: 135 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.4447, allocations: 0.6998 MB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.4467, allocations: 1.687 MB / 1.331 GB, free: 9.227 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.447, allocations: 165.9 kB / 1.331 GB, free: 9.051 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.4477, allocations: 0.5958 MB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007541/0.4485, allocations: 0.6266 MB / 1.332 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.4487, allocations: 136 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.4498, allocations: 0.6594 MB / 1.333 GB, free: 7.031 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006743/0.4505, allocations: 0.6272 MB / 1.333 GB, free: 6.402 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009066/0.4514, allocations: 0.8745 MB / 1.334 GB, free: 5.523 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.4555, allocations: 3.442 MB / 1.338 GB, free: 2.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.4556, allocations: 0 / 1.338 GB, free: 2.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4556, allocations: 0 / 1.338 GB, free: 2.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.079e-05/0.4556, allocations: 0 / 1.338 GB, free: 2.07 MB / 1.029 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.005035/0.4606, allocations: 2.237 MB / 1.34 GB, free: 15.76 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4607, allocations: 11.98 kB / 1.34 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.4671, allocations: 0.6514 MB / 1.34 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.4705, allocations: 1.653 MB / 1.342 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.4707, allocations: 136.5 kB / 1.342 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.4708, allocations: 28.38 kB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.475, allocations: 1.891 MB / 1.344 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.475, allocations: 4 kB / 1.344 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.4751, allocations: 12 kB / 1.344 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4752, allocations: 8 kB / 1.344 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005981/0.4811, allocations: 2.614 MB / 1.347 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009656/0.4908, allocations: 4.605 MB / 1.351 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.5015, allocations: 2.844 MB / 1.354 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.5041, allocations: 1.15 MB / 1.355 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.5042, allocations: 20.34 kB / 1.355 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003667/0.5078, allocations: 1.777 MB / 1.357 GB, free: 14.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 3.537e-06/0.5078, allocations: 0 / 1.357 GB, free: 14.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.009111/0.517, allocations: 3.658 MB / 1.36 GB, free: 10.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/0.517, allocations: 93.66 kB / 1.36 GB, free: 10.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.5221, allocations: 2.759 MB / 1.363 GB, free: 7.574 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003199/0.5224, allocations: 53.69 kB / 1.363 GB, free: 7.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000839/0.5232, allocations: 0.6971 MB / 1.364 GB, free: 6.812 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.5235, allocations: 186.5 kB / 1.364 GB, free: 6.629 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.5239, allocations: 158.1 kB / 1.364 GB, free: 6.469 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5241, allocations: 333.9 kB / 1.364 GB, free: 6.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.5271, allocations: 1.454 MB / 1.366 GB, free: 4.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.5302, allocations: 1.434 MB / 1.367 GB, free: 3.242 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005168/0.5353, allocations: 2.207 MB / 1.369 GB, free: 1.016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5354, allocations: 0 / 1.369 GB, free: 1.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007147/0.5425, allocations: 3 MB / 1.372 GB, free: 13.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.5426, allocations: 87.38 kB / 1.372 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5426, allocations: 0 / 1.372 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.5427, allocations: 0 / 1.372 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5441, allocations: 183.7 kB / 1.373 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5441, allocations: 0 / 1.373 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.546, allocations: 119.6 kB / 1.373 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.5461, allocations: 47.94 kB / 1.373 GB, free: 13.55 MB / 1.076 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.00179/0.5479, allocations: 0.7801 MB / 1.374 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.5485, allocations: 194.8 kB / 1.374 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/0.555, allocations: 2.669 MB / 1.376 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.555, allocations: 8 kB / 1.376 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.555, allocations: 0 / 1.376 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5551, allocations: 0 / 1.376 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.5588, allocations: 2.33 MB / 1.379 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5588, allocations: 0 / 1.379 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.5603, allocations: 191.6 kB / 1.379 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.5603, allocations: 4 kB / 1.379 GB, free: 7.285 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5604, allocations: 35.94 kB / 1.379 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.5604, allocations: 4 kB / 1.379 GB, free: 7.246 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5604, allocations: 3.938 kB / 1.379 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006591/0.567, allocations: 2.564 MB / 1.381 GB, free: 4.648 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.5685, allocations: 0.5894 MB / 1.382 GB, free: 4.039 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.5688, allocations: 59.97 kB / 1.382 GB, free: 3.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.5703, allocations: 123.8 kB / 1.382 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5705, allocations: 52.5 kB / 1.382 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.5707, allocations: 51.92 kB / 1.382 GB, free: 3.758 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003521/0.5742, allocations: 1.98 MB / 1.384 GB, free: 1.754 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5742, allocations: 0 / 1.384 GB, free: 1.754 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001451/0.5756, allocations: 371.6 kB / 1.384 GB, free: 1.391 MB / 1.076 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.0007096/0.5763, allocations: 263.4 kB / 1.385 GB, free: 1.129 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006453/0.5828, allocations: 2.88 MB / 1.388 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5828, allocations: 0 / 1.388 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.5858, allocations: 1.291 MB / 1.389 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.5881, allocations: 470.2 kB / 1.389 GB, free: 12.46 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008958/0.5971, allocations: 4.238 MB / 1.393 GB, free: 8.188 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.5986, allocations: 1.604 MB / 1.395 GB, free: 6.555 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002147/0.6008, allocations: 0.6032 MB / 1.396 GB, free: 5.949 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.6013, allocations: 131.3 kB / 1.396 GB, free: 5.82 MB / 1.092 GB Notification: Performance of SimCode: time 2.124e-06/0.6013, allocations: 0 / 1.396 GB, free: 5.82 MB / 1.092 GB Notification: Performance of Templates: time 0.06359/0.6649, allocations: 33.04 MB / 1.428 GB, free: 5.039 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.63505185302347]