Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001255/0.001255, allocations: 106.3 kB / 16.37 MB, free: 6.477 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.001518/0.001518, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.62 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004056/0.3154, allocations: 3.093 MB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004224/0.3196, allocations: 3.337 MB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.3199, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.3212, allocations: 0.5597 MB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.3216, allocations: 142.9 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3232, allocations: 0.6954 MB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.3247, allocations: 1.686 MB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.325, allocations: 254.7 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.3256, allocations: 0.5763 MB / 1.037 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.3262, allocations: 0.615 MB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.3264, allocations: 140 kB / 1.038 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009003/0.3273, allocations: 0.6516 MB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.3278, allocations: 0.6195 MB / 1.039 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.3285, allocations: 0.8784 MB / 1.04 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.3311, allocations: 3.42 MB / 1.043 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3311, allocations: 0 / 1.043 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3311, allocations: 3.938 kB / 1.043 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.3312, allocations: 0 / 1.043 GB, free: 1.332 MB / 0.8106 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.003211/0.3344, allocations: 2.172 MB / 1.045 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3344, allocations: 8.031 kB / 1.045 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005672/0.3401, allocations: 0.6426 MB / 1.046 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.3429, allocations: 1.639 MB / 1.047 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.3431, allocations: 140.5 kB / 1.047 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3432, allocations: 28.38 kB / 1.048 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.3464, allocations: 1.891 MB / 1.049 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3464, allocations: 0 / 1.049 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3465, allocations: 12 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3465, allocations: 4 kB / 1.049 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004722/0.3512, allocations: 2.622 MB / 1.052 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00759/0.3588, allocations: 4.593 MB / 1.056 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009197/0.3681, allocations: 2.893 MB / 1.059 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.3702, allocations: 1.185 MB / 1.06 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.3703, allocations: 16.42 kB / 1.06 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/0.3732, allocations: 1.781 MB / 1.062 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 6.201e-06/0.3732, allocations: 3.984 kB / 1.062 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.007291/0.3805, allocations: 3.641 MB / 1.066 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.3806, allocations: 97.59 kB / 1.066 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/0.3845, allocations: 2.759 MB / 1.069 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.3848, allocations: 53.69 kB / 1.069 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/0.3855, allocations: 0.6971 MB / 1.069 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3857, allocations: 185.5 kB / 1.069 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.386, allocations: 154.1 kB / 1.07 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3861, allocations: 325.9 kB / 1.07 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.3886, allocations: 1.458 MB / 1.071 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.391, allocations: 1.438 MB / 1.073 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.3951, allocations: 2.222 MB / 1.075 GB, free: 300 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3951, allocations: 0 / 1.075 GB, free: 300 kB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.4723/0.8674, allocations: 2.972 MB / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.8675, allocations: 80.91 kB / 1.078 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.8675, allocations: 0.6562 kB / 1.078 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.8675, allocations: 3.594 kB / 1.078 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.8687, allocations: 189.1 kB / 1.078 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8688, allocations: 3.266 kB / 1.078 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.8701, allocations: 106.9 kB / 1.078 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.8703, allocations: 44.77 kB / 1.078 GB, free: 53.22 MB / 0.8419 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.001278/0.8716, allocations: 0.7833 MB / 1.079 GB, free: 53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.8719, allocations: 177.5 kB / 1.079 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/0.8774, allocations: 2.668 MB / 1.082 GB, free: 52.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8774, allocations: 10.08 kB / 1.082 GB, free: 52.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8774, allocations: 0 / 1.082 GB, free: 52.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.8774, allocations: 3.766 kB / 1.082 GB, free: 52.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.8804, allocations: 2.325 MB / 1.084 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8804, allocations: 0.7969 kB / 1.084 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.8817, allocations: 181.5 kB / 1.084 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.8817, allocations: 2.656 kB / 1.084 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.8818, allocations: 40.73 kB / 1.084 GB, free: 51.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.8818, allocations: 3.172 kB / 1.084 GB, free: 51.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8818, allocations: 0 / 1.084 GB, free: 51.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/0.8876, allocations: 2.564 MB / 1.087 GB, free: 50.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.8889, allocations: 0.5788 MB / 1.087 GB, free: 49.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.8892, allocations: 63.89 kB / 1.087 GB, free: 49.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8905, allocations: 117.8 kB / 1.087 GB, free: 49.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.8907, allocations: 56.78 kB / 1.088 GB, free: 49.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.8909, allocations: 50.83 kB / 1.088 GB, free: 49.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003083/0.894, allocations: 1.973 MB / 1.089 GB, free: 49.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.894, allocations: 0 / 1.089 GB, free: 49.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001209/0.8952, allocations: 373.3 kB / 1.09 GB, free: 49.07 MB / 0.8419 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.0005533/0.8957, allocations: 253.3 kB / 1.09 GB, free: 48.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005404/0.9012, allocations: 2.983 MB / 1.093 GB, free: 47.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9012, allocations: 1.562 kB / 1.093 GB, free: 47.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.9036, allocations: 1.347 MB / 1.094 GB, free: 47.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.9054, allocations: 465.9 kB / 1.095 GB, free: 47.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/0.9128, allocations: 4.195 MB / 1.099 GB, free: 45.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.9141, allocations: 1.603 MB / 1.1 GB, free: 44.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001988/0.9161, allocations: 0.602 MB / 1.101 GB, free: 44.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.9166, allocations: 135.1 kB / 1.101 GB, free: 44.55 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.9166, allocations: 0 / 1.101 GB, free: 44.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.1581/1.075, allocations: 32.68 MB / 1.133 GB, free: 30.14 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches