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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001391/0.001391, allocations: 192.4 kB / 16.14 MB, free: 6.711 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 66.14 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3622, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004844/0.3671, allocations: 3.118 MB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004871/0.372, allocations: 3.372 MB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.3724, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.3739, allocations: 0.5564 MB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.3742, allocations: 115.2 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.376, allocations: 0.6052 MB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3778, allocations: 1.573 MB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.3782, allocations: 249.3 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.3788, allocations: 0.5216 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006213/0.3795, allocations: 0.6032 MB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3797, allocations: 84 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3807, allocations: 0.5813 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005199/0.3812, allocations: 0.5727 MB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007882/0.382, allocations: 0.8354 MB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.3853, allocations: 3.318 MB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3854, allocations: 4 kB / 1.068 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3854, allocations: 0 / 1.068 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.947e-05/0.3854, allocations: 0 / 1.068 GB, free: 8.664 MB / 0.8262 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.003855/0.3893, allocations: 2.168 MB / 1.07 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3893, allocations: 8.031 kB / 1.07 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.3957, allocations: 0.6465 MB / 1.071 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.3991, allocations: 1.631 MB / 1.072 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.3993, allocations: 132.5 kB / 1.072 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3994, allocations: 36.3 kB / 1.072 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.4032, allocations: 1.891 MB / 1.074 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4032, allocations: 0 / 1.074 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.4033, allocations: 19.94 kB / 1.074 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4033, allocations: 4 kB / 1.074 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/0.4086, allocations: 2.618 MB / 1.077 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/0.4183, allocations: 4.601 MB / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.4288, allocations: 2.897 MB / 1.084 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.4312, allocations: 1.181 MB / 1.085 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.4313, allocations: 16.42 kB / 1.085 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003293/0.4346, allocations: 1.784 MB / 1.087 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.326e-06/0.4346, allocations: 0 / 1.087 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.007932/0.4426, allocations: 3.637 MB / 1.091 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.4427, allocations: 97.66 kB / 1.091 GB, free: 1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004076/0.4468, allocations: 2.755 MB / 1.093 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.4471, allocations: 53.69 kB / 1.093 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.4478, allocations: 0.7048 MB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.448, allocations: 181.5 kB / 1.094 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.4484, allocations: 154.1 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4485, allocations: 337.9 kB / 1.095 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/0.4511, allocations: 1.447 MB / 1.096 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.4538, allocations: 1.441 MB / 1.098 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00441/0.4582, allocations: 2.215 MB / 1.1 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4582, allocations: 0 / 1.1 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005948/0.4642, allocations: 2.975 MB / 1.103 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/0.4643, allocations: 87.38 kB / 1.103 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4643, allocations: 0 / 1.103 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.4643, allocations: 3.984 kB / 1.103 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.4656, allocations: 191.7 kB / 1.103 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4657, allocations: 0 / 1.103 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4674, allocations: 115.4 kB / 1.103 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.4676, allocations: 47.95 kB / 1.103 GB, free: 4.184 MB / 0.8575 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.001703/0.4693, allocations: 0.7778 MB / 1.104 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008213/0.4701, allocations: 177.8 kB / 1.104 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006214/0.4763, allocations: 2.665 MB / 1.107 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4764, allocations: 8 kB / 1.107 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4764, allocations: 3.984 kB / 1.107 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4764, allocations: 4 kB / 1.107 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.4803, allocations: 2.33 MB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4804, allocations: 0 / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.4817, allocations: 175.7 kB / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4817, allocations: 0 / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.4819, allocations: 39.94 kB / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4819, allocations: 0 / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4819, allocations: 8 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006003/0.4879, allocations: 2.559 MB / 1.112 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.4898, allocations: 0.5806 MB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007341/0.4905, allocations: 59.97 kB / 1.112 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.4924, allocations: 123.8 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.4926, allocations: 52.5 kB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.4928, allocations: 51.86 kB / 1.112 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005066/0.4979, allocations: 1.98 MB / 1.114 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4979, allocations: 0 / 1.114 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002216/0.5001, allocations: 371.8 kB / 1.115 GB, free: 8.07 MB / 0.8731 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.0009363/0.5011, allocations: 258 kB / 1.115 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005799/0.5069, allocations: 2.977 MB / 1.118 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5069, allocations: 0 / 1.118 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.5095, allocations: 1.346 MB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.5122, allocations: 440.6 kB / 1.12 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/0.5204, allocations: 4.583 MB / 1.124 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.5219, allocations: 1.604 MB / 1.126 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002347/0.5242, allocations: 0.611 MB / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/0.5249, allocations: 135.3 kB / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of SimCode: time 9.01e-07/0.5249, allocations: 0 / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of Templates: time 0.05309/0.578, allocations: 31.54 MB / 1.157 GB, free: 12.7 MB / 0.92 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 -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/jenkins/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