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.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.001405/0.001405, allocations: 110 kB / 18.93 MB, free: 2.945 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.001521/0.001521, allocations: 192 kB / 22.23 MB, free: 5.16 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.533/1.533, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.484/3.484, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 66.52 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5171, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005654/0.5228, allocations: 3.126 MB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005825/0.5286, allocations: 3.375 MB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.5289, allocations: 4 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.5306, allocations: 0.5714 MB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.5309, allocations: 135 kB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.533, allocations: 0.7168 MB / 1.315 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.5352, allocations: 1.7 MB / 1.317 GB, free: 8.145 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.5355, allocations: 113.8 kB / 1.317 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.5362, allocations: 0.5919 MB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.5371, allocations: 0.6305 MB / 1.318 GB, free: 6.793 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.5373, allocations: 140 kB / 1.318 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.5386, allocations: 0.7256 MB / 1.319 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.5392, allocations: 0.6311 MB / 1.319 GB, free: 5.297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009329/0.5402, allocations: 0.8668 MB / 1.32 GB, free: 4.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.5442, allocations: 3.442 MB / 1.324 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5443, allocations: 0 / 1.324 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5443, allocations: 0 / 1.324 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.222e-05/0.5443, allocations: 4 kB / 1.324 GB, free: 0.9688 MB / 1.014 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.004161/0.5484, allocations: 2.166 MB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5485, allocations: 8.031 kB / 1.326 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.5543, allocations: 0.6631 MB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.5574, allocations: 1.606 MB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.5577, allocations: 140.5 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.5578, allocations: 32.31 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.5613, allocations: 1.888 MB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5613, allocations: 4 kB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.5614, allocations: 16 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.5614, allocations: 4 kB / 1.33 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/0.5669, allocations: 2.614 MB / 1.333 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009478/0.5764, allocations: 4.577 MB / 1.337 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.5865, allocations: 2.843 MB / 1.34 GB, free: 208 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.589, allocations: 1.15 MB / 1.341 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/0.5891, allocations: 16.42 kB / 1.341 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003553/0.5926, allocations: 1.776 MB / 1.343 GB, free: 13.24 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 4.198e-06/0.5926, allocations: 4 kB / 1.343 GB, free: 13.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.008783/0.6014, allocations: 3.648 MB / 1.346 GB, free: 9.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.6015, allocations: 105.6 kB / 1.346 GB, free: 9.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/0.6064, allocations: 2.759 MB / 1.349 GB, free: 6.645 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.6067, allocations: 53.69 kB / 1.349 GB, free: 6.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008436/0.6075, allocations: 0.6894 MB / 1.35 GB, free: 5.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.6078, allocations: 194.4 kB / 1.35 GB, free: 5.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.6082, allocations: 154.1 kB / 1.35 GB, free: 5.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.6084, allocations: 333.9 kB / 1.35 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/0.6112, allocations: 1.45 MB / 1.352 GB, free: 3.758 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.6139, allocations: 1.442 MB / 1.353 GB, free: 2.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.6185, allocations: 2.208 MB / 1.355 GB, free: 88 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.6185, allocations: 0 / 1.355 GB, free: 88 kB / 1.045 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006453/0.625, allocations: 2.989 MB / 1.358 GB, free: 13.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.6251, allocations: 87.31 kB / 1.358 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6251, allocations: 0 / 1.358 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.6251, allocations: 0 / 1.358 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.6264, allocations: 191.7 kB / 1.359 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6264, allocations: 0 / 1.359 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.628, allocations: 107.6 kB / 1.359 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.6282, allocations: 47.94 kB / 1.359 GB, free: 12.64 MB / 1.061 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.001762/0.6299, allocations: 0.7801 MB / 1.359 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.6305, allocations: 190.8 kB / 1.36 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/0.6363, allocations: 2.675 MB / 1.362 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6364, allocations: 8 kB / 1.362 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6364, allocations: 0 / 1.362 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6364, allocations: 7.969 kB / 1.362 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.6398, allocations: 2.287 MB / 1.365 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6398, allocations: 0 / 1.365 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.6411, allocations: 183.7 kB / 1.365 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.6411, allocations: 4 kB / 1.365 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.6412, allocations: 35.94 kB / 1.365 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.6412, allocations: 4 kB / 1.365 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6412, allocations: 0 / 1.365 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/0.647, allocations: 2.578 MB / 1.367 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.6486, allocations: 0.5219 MB / 1.368 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005503/0.6492, allocations: 59.97 kB / 1.368 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.6509, allocations: 123.8 kB / 1.368 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.6511, allocations: 56.41 kB / 1.368 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.6513, allocations: 51.88 kB / 1.368 GB, free: 2.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004614/0.6559, allocations: 1.976 MB / 1.37 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6559, allocations: 4 kB / 1.37 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001821/0.6577, allocations: 375.6 kB / 1.37 GB, free: 0.5977 MB / 1.061 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.001006/0.6587, allocations: 243.7 kB / 1.371 GB, free: 360 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006202/0.6649, allocations: 2.886 MB / 1.373 GB, free: 13.44 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6649, allocations: 0 / 1.373 GB, free: 13.44 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.6677, allocations: 1.287 MB / 1.375 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.6705, allocations: 475.5 kB / 1.375 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.6811, allocations: 4.238 MB / 1.379 GB, free: 7.395 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.683, allocations: 1.6 MB / 1.381 GB, free: 5.766 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00231/0.6854, allocations: 0.5915 MB / 1.381 GB, free: 5.172 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/0.6862, allocations: 139.3 kB / 1.382 GB, free: 5.035 MB / 1.076 GB Notification: Performance of SimCode: time 1.673e-06/0.6862, allocations: 3.938 kB / 1.382 GB, free: 5.031 MB / 1.076 GB Notification: Performance of Templates: time 0.06837/0.7546, allocations: 33.39 MB / 1.414 GB, free: 3.91 MB / 1.107 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: 11.354299113154411]