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.00813/0.00813, allocations: 102 kB / 15.73 MB, free: 6.035 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.00201/0.00201, allocations: 195.9 kB / 16.68 MB, free: 5.953 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 71.89 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005548/1.025, allocations: 3.088 MB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005364/1.03, allocations: 3.325 MB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/1.03, allocations: 4 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/1.032, allocations: 0.5692 MB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/1.032, allocations: 134.9 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/1.034, allocations: 0.7031 MB / 1.215 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001504/1.036, allocations: 1.689 MB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/1.036, allocations: 249.3 kB / 1.217 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/1.037, allocations: 0.5879 MB / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/1.037, allocations: 0.6072 MB / 1.218 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/1.037, allocations: 140 kB / 1.219 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/1.038, allocations: 0.6477 MB / 1.219 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005032/1.039, allocations: 0.6195 MB / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/1.04, allocations: 0.8668 MB / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002883/1.042, allocations: 3.435 MB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.043, allocations: 0 / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.679e-06/1.043, allocations: 4 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.886e-05/1.043, allocations: 3.938 kB / 1.224 GB, free: 12.87 MB / 0.9512 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.003196/1.046, allocations: 2.172 MB / 1.226 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.046, allocations: 12.03 kB / 1.226 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/1.052, allocations: 0.6465 MB / 1.227 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/1.055, allocations: 1.635 MB / 1.228 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/1.055, allocations: 132.5 kB / 1.228 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.055, allocations: 28.38 kB / 1.229 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/1.059, allocations: 1.891 MB / 1.23 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.059, allocations: 0 / 1.23 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.06, allocations: 12 kB / 1.23 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.06, allocations: 4 kB / 1.23 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/1.065, allocations: 2.622 MB / 1.233 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/1.075, allocations: 4.601 MB / 1.237 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.086, allocations: 2.899 MB / 1.24 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/1.089, allocations: 1.181 MB / 1.241 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/1.089, allocations: 24.41 kB / 1.241 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00376/1.093, allocations: 1.781 MB / 1.243 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/1.093, allocations: 0 / 1.243 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=61): time 0.009227/1.102, allocations: 3.641 MB / 1.247 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.102, allocations: 97.64 kB / 1.247 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007038/1.109, allocations: 2.755 MB / 1.25 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004012/1.109, allocations: 53.69 kB / 1.25 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.111, allocations: 0.697 MB / 1.25 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/1.111, allocations: 185.5 kB / 1.25 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004879/1.111, allocations: 158.1 kB / 1.251 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002315/1.112, allocations: 329.9 kB / 1.251 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.115, allocations: 1.458 MB / 1.252 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/1.118, allocations: 1.43 MB / 1.254 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005097/1.123, allocations: 2.215 MB / 1.256 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.123, allocations: 0 / 1.256 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007047/1.13, allocations: 2.987 MB / 1.259 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.13, allocations: 79.38 kB / 1.259 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.13, allocations: 0 / 1.259 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/1.13, allocations: 4 kB / 1.259 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.132, allocations: 179.7 kB / 1.259 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.132, allocations: 7.984 kB / 1.259 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.133, allocations: 115.4 kB / 1.259 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.134, allocations: 43.94 kB / 1.259 GB, free: 8.395 MB / 0.9825 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.001943/1.136, allocations: 0.7801 MB / 1.26 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009331/1.137, allocations: 181.8 kB / 1.26 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006522/1.143, allocations: 2.677 MB / 1.263 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.143, allocations: 4 kB / 1.263 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.143, allocations: 3.938 kB / 1.263 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.143, allocations: 3.984 kB / 1.263 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/1.147, allocations: 2.303 MB / 1.265 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.147, allocations: 0 / 1.265 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.149, allocations: 183.6 kB / 1.265 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/1.149, allocations: 8 kB / 1.265 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.149, allocations: 35.94 kB / 1.265 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/1.149, allocations: 4 kB / 1.265 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.149, allocations: 0 / 1.265 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/1.156, allocations: 2.559 MB / 1.268 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.157, allocations: 0.5805 MB / 1.268 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/1.158, allocations: 63.97 kB / 1.268 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/1.16, allocations: 115.8 kB / 1.268 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.16, allocations: 60.48 kB / 1.269 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.16, allocations: 51.88 kB / 1.269 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004831/1.165, allocations: 1.976 MB / 1.27 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.165, allocations: 0 / 1.27 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001916/1.167, allocations: 375.8 kB / 1.271 GB, free: 12.27 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.0009123/1.168, allocations: 253.2 kB / 1.271 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006454/1.174, allocations: 2.985 MB / 1.274 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.175, allocations: 0 / 1.274 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002951/1.177, allocations: 1.349 MB / 1.275 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.181, allocations: 470.7 kB / 1.276 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/1.191, allocations: 4.194 MB / 1.28 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.193, allocations: 1.6 MB / 1.281 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003074/1.196, allocations: 0.5993 MB / 1.282 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/1.197, allocations: 131.3 kB / 1.282 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of SimCode: time 1.372e-06/1.197, allocations: 0 / 1.282 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of Templates: time 0.06143/1.259, allocations: 32.88 MB / 1.314 GB, free: 15.96 MB / 1.045 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