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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_11_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.007691/0.007691, allocations: 99.05 kB / 15.73 MB, free: 6.047 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.001693/0.001693, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.45/1.45, 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 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3781, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004602/0.3827, allocations: 3.095 MB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005411/0.3881, allocations: 3.336 MB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.3885, allocations: 4 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3904, allocations: 0.5675 MB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.3908, allocations: 135 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.3929, allocations: 0.7046 MB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002174/0.3951, allocations: 1.686 MB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.3955, allocations: 169.2 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3966, allocations: 0.5879 MB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.3977, allocations: 0.6111 MB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.3982, allocations: 140 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.3996, allocations: 0.6477 MB / 1.232 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.4003, allocations: 0.6351 MB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.4019, allocations: 0.8707 MB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.4069, allocations: 3.438 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4069, allocations: 0 / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.338e-06/0.4069, allocations: 3.984 kB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.064e-05/0.407, allocations: 0 / 1.237 GB, free: 13.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.004154/0.4111, allocations: 2.241 MB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4112, allocations: 8.031 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/0.417, allocations: 0.6592 MB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.4199, allocations: 1.653 MB / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.4201, allocations: 132.5 kB / 1.241 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4203, allocations: 28.38 kB / 1.241 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.4238, allocations: 1.888 MB / 1.243 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4239, allocations: 0 / 1.243 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.424, allocations: 12 kB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.424, allocations: 8 kB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.4289, allocations: 2.618 MB / 1.246 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8244/1.253, allocations: 4.592 MB / 1.25 GB, free: 28.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/1.264, allocations: 2.845 MB / 1.253 GB, free: 28.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002649/1.267, allocations: 1.15 MB / 1.254 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/1.267, allocations: 17.84 kB / 1.254 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002992/1.27, allocations: 1.781 MB / 1.256 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 4.118e-06/1.27, allocations: 2.062 kB / 1.256 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.007714/1.278, allocations: 3.65 MB / 1.26 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/1.278, allocations: 96.77 kB / 1.26 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006145/1.284, allocations: 2.756 MB / 1.262 GB, free: 27.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003681/1.284, allocations: 52.41 kB / 1.262 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/1.285, allocations: 0.6938 MB / 1.263 GB, free: 26.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/1.286, allocations: 192.6 kB / 1.263 GB, free: 26.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/1.286, allocations: 153.4 kB / 1.263 GB, free: 26.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/1.286, allocations: 331.7 kB / 1.264 GB, free: 26.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003095/1.289, allocations: 1.456 MB / 1.265 GB, free: 25.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/1.292, allocations: 1.435 MB / 1.267 GB, free: 25.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/1.297, allocations: 2.218 MB / 1.269 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.297, allocations: 0 / 1.269 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006228/1.303, allocations: 2.994 MB / 1.272 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/1.303, allocations: 83.22 kB / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.303, allocations: 0 / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.303, allocations: 7 kB / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.305, allocations: 187.2 kB / 1.272 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.305, allocations: 2.656 kB / 1.272 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.306, allocations: 104.3 kB / 1.272 GB, free: 23.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.306, allocations: 45.62 kB / 1.272 GB, free: 23.36 MB / 0.9981 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.001502/1.308, allocations: 0.7861 MB / 1.273 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/1.308, allocations: 189.8 kB / 1.273 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/1.314, allocations: 2.668 MB / 1.276 GB, free: 22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.314, allocations: 5.062 kB / 1.276 GB, free: 22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.314, allocations: 0.9375 kB / 1.276 GB, free: 22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.314, allocations: 2.812 kB / 1.276 GB, free: 22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/1.319, allocations: 2.328 MB / 1.278 GB, free: 21.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.319, allocations: 5.969 kB / 1.278 GB, free: 21.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.321, allocations: 178.3 kB / 1.278 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.321, allocations: 2.219 kB / 1.278 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.321, allocations: 40.17 kB / 1.278 GB, free: 21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.321, allocations: 3.547 kB / 1.278 GB, free: 21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.321, allocations: 1.062 kB / 1.278 GB, free: 21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/1.327, allocations: 2.565 MB / 1.281 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.328, allocations: 0.59 MB / 1.281 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/1.329, allocations: 59.8 kB / 1.281 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.33, allocations: 121 kB / 1.281 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.33, allocations: 63.36 kB / 1.281 GB, free: 19.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.33, allocations: 45.98 kB / 1.281 GB, free: 19.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003303/1.334, allocations: 1.977 MB / 1.283 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.334, allocations: 4 kB / 1.283 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001409/1.335, allocations: 369.9 kB / 1.284 GB, free: 18.91 MB / 0.9981 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.0006101/1.336, allocations: 251.7 kB / 1.284 GB, free: 18.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005897/1.342, allocations: 2.884 MB / 1.287 GB, free: 17.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.342, allocations: 8.75 kB / 1.287 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.344, allocations: 1.288 MB / 1.288 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.347, allocations: 474 kB / 1.289 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/1.355, allocations: 4.237 MB / 1.293 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.357, allocations: 1.602 MB / 1.294 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002461/1.359, allocations: 0.5967 MB / 1.295 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/1.36, allocations: 134.2 kB / 1.295 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.36, allocations: 0 / 1.295 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of Templates: time 0.05858/1.419, allocations: 32.98 MB / 1.327 GB, free: 15.02 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) 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) Reference file matches