Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01079/0.01079, allocations: 98.2 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 193.8 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.374, allocations: 151.6 MB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005314/0.3793, allocations: 3.09 MB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.3849, allocations: 3.333 MB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.3854, allocations: 4 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3874, allocations: 0.5715 MB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005829/0.388, allocations: 131 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.3907, allocations: 0.6962 MB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.3933, allocations: 1.694 MB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.3938, allocations: 245.2 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.395, allocations: 0.5841 MB / 1.177 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.3962, allocations: 0.6111 MB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.3967, allocations: 136 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.3985, allocations: 0.6516 MB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.3994, allocations: 0.6195 MB / 1.179 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.401, allocations: 0.8745 MB / 1.18 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005265/0.4063, allocations: 3.438 MB / 1.183 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4064, allocations: 0 / 1.183 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4064, allocations: 3.938 kB / 1.183 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.239e-05/0.4065, allocations: 0 / 1.183 GB, free: 6.129 MB / 0.9356 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.004985/0.4115, allocations: 2.237 MB / 1.185 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4115, allocations: 8.031 kB / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006189/0.4177, allocations: 0.6592 MB / 1.186 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.4211, allocations: 1.653 MB / 1.187 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.4214, allocations: 132.5 kB / 1.187 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4215, allocations: 28.38 kB / 1.187 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/0.4254, allocations: 1.888 MB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4254, allocations: 4 kB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4256, allocations: 8 kB / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4256, allocations: 8 kB / 1.189 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005469/0.4311, allocations: 2.622 MB / 1.192 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009008/0.4401, allocations: 4.601 MB / 1.196 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00968/0.4498, allocations: 2.893 MB / 1.199 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.4524, allocations: 1.181 MB / 1.2 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.98e-05/0.4525, allocations: 20.41 kB / 1.2 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003405/0.4559, allocations: 1.777 MB / 1.202 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 6.071e-06/0.4559, allocations: 0 / 1.202 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.008405/0.4643, allocations: 3.662 MB / 1.206 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.4645, allocations: 93.66 kB / 1.206 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.4689, allocations: 2.755 MB / 1.208 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.4692, allocations: 53.69 kB / 1.209 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007294/0.4699, allocations: 0.701 MB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.4702, allocations: 190.4 kB / 1.209 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00042/0.4706, allocations: 162.1 kB / 1.21 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4708, allocations: 329.9 kB / 1.21 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.4736, allocations: 1.447 MB / 1.211 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.4764, allocations: 1.442 MB / 1.213 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/0.4812, allocations: 2.215 MB / 1.215 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4812, allocations: 0 / 1.215 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006432/0.4876, allocations: 2.992 MB / 1.218 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.4878, allocations: 79.38 kB / 1.218 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.4878, allocations: 0 / 1.218 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.4878, allocations: 4 kB / 1.218 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4891, allocations: 187.7 kB / 1.218 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4891, allocations: 4 kB / 1.218 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.4909, allocations: 111.6 kB / 1.218 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.491, allocations: 47.94 kB / 1.218 GB, free: 1.535 MB / 0.9669 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.001865/0.4929, allocations: 0.784 MB / 1.219 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/0.4935, allocations: 182.8 kB / 1.219 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/0.4995, allocations: 2.669 MB / 1.222 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.4995, allocations: 8 kB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4995, allocations: 0 / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4995, allocations: 4 kB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.5028, allocations: 2.323 MB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5028, allocations: 0 / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.5041, allocations: 179.7 kB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.5041, allocations: 4 kB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.994e-05/0.5042, allocations: 35.94 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5042, allocations: 4 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5042, allocations: 4 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006098/0.5103, allocations: 2.568 MB / 1.227 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.5117, allocations: 0.5893 MB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.512, allocations: 59.97 kB / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.5134, allocations: 123.8 kB / 1.227 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.5136, allocations: 60.38 kB / 1.228 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.5137, allocations: 51.92 kB / 1.228 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003123/0.5168, allocations: 1.976 MB / 1.23 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5168, allocations: 0 / 1.23 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001156/0.518, allocations: 379.6 kB / 1.23 GB, free: 5.379 MB / 0.9825 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.0006091/0.5186, allocations: 245.1 kB / 1.23 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005644/0.5243, allocations: 2.985 MB / 1.233 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5243, allocations: 0 / 1.233 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00265/0.5269, allocations: 1.346 MB / 1.234 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.5297, allocations: 481.7 kB / 1.235 GB, free: 308 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007949/0.5376, allocations: 4.238 MB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.5389, allocations: 1.592 MB / 1.241 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001754/0.5407, allocations: 0.6071 MB / 1.241 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/0.5412, allocations: 139.3 kB / 1.241 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.5412, allocations: 0 / 1.241 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of Templates: time 0.7618/1.303, allocations: 32.88 MB / 1.273 GB, free: 76.92 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches