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.005732/0.005732, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.00113/0.00113, allocations: 194.5 kB / 16.67 MB, free: 5.918 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 68.11 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005385/1.077, allocations: 3.099 MB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00528/1.083, allocations: 3.325 MB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/1.083, allocations: 7.938 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/1.085, allocations: 0.5692 MB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004764/1.085, allocations: 134.9 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/1.088, allocations: 0.6939 MB / 1.215 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001972/1.09, allocations: 1.689 MB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/1.09, allocations: 253.2 kB / 1.217 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009166/1.091, allocations: 0.5918 MB / 1.218 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/1.092, allocations: 0.6033 MB / 1.218 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003545/1.092, allocations: 140 kB / 1.219 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/1.094, allocations: 0.6516 MB / 1.219 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006348/1.094, allocations: 0.6195 MB / 1.22 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.096, allocations: 0.8746 MB / 1.221 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00458/1.1, allocations: 3.428 MB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.1, allocations: 0 / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.064e-06/1.1, allocations: 3.938 kB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.28e-05/1.1, allocations: 0 / 1.224 GB, free: 12.91 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.005586/1.106, allocations: 2.175 MB / 1.226 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.106, allocations: 8.031 kB / 1.226 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/1.112, allocations: 0.6426 MB / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/1.116, allocations: 1.643 MB / 1.228 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/1.117, allocations: 128.5 kB / 1.228 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.117, allocations: 36.36 kB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/1.12, allocations: 1.884 MB / 1.23 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.12, allocations: 0 / 1.23 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.121, allocations: 15.98 kB / 1.23 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/1.121, allocations: 8 kB / 1.23 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005579/1.126, allocations: 2.614 MB / 1.233 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/1.137, allocations: 4.601 MB / 1.237 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.148, allocations: 2.893 MB / 1.24 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/1.15, allocations: 1.181 MB / 1.241 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.985e-05/1.15, allocations: 24.27 kB / 1.241 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003727/1.154, allocations: 1.781 MB / 1.243 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=61): time 3.547e-06/1.154, allocations: 0 / 1.243 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=61): time 0.009083/1.163, allocations: 3.649 MB / 1.247 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/1.163, allocations: 89.67 kB / 1.247 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/1.168, allocations: 2.755 MB / 1.25 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/1.169, allocations: 49.7 kB / 1.25 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/1.169, allocations: 0.7009 MB / 1.25 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/1.17, allocations: 181.5 kB / 1.25 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/1.17, allocations: 154.1 kB / 1.251 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.17, allocations: 333.9 kB / 1.251 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/1.173, allocations: 1.458 MB / 1.252 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/1.176, allocations: 1.434 MB / 1.254 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/1.18, allocations: 2.215 MB / 1.256 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.18, allocations: 0 / 1.256 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00627/1.187, allocations: 2.983 MB / 1.259 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/1.187, allocations: 83.31 kB / 1.259 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.187, allocations: 0 / 1.259 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.187, allocations: 0 / 1.259 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.188, allocations: 191.7 kB / 1.259 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.188, allocations: 4 kB / 1.259 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.19, allocations: 111.4 kB / 1.259 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/1.19, allocations: 43.94 kB / 1.259 GB, free: 8.434 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.001279/1.191, allocations: 0.7879 MB / 1.26 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/1.192, allocations: 177.8 kB / 1.26 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/1.198, allocations: 2.669 MB / 1.263 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.198, allocations: 11.94 kB / 1.263 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.198, allocations: 0 / 1.263 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.198, allocations: 3.984 kB / 1.263 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/1.201, allocations: 2.311 MB / 1.265 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.201, allocations: 0 / 1.265 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.202, allocations: 179.7 kB / 1.265 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.202, allocations: 4 kB / 1.265 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.202, allocations: 35.94 kB / 1.265 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.202, allocations: 7.938 kB / 1.265 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.202, allocations: 0 / 1.265 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006095/1.208, allocations: 2.563 MB / 1.268 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.21, allocations: 0.5806 MB / 1.268 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005767/1.211, allocations: 55.98 kB / 1.268 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.213, allocations: 123.8 kB / 1.268 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/1.213, allocations: 56.48 kB / 1.269 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.213, allocations: 51.94 kB / 1.269 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004105/1.217, allocations: 1.972 MB / 1.27 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.217, allocations: 0 / 1.27 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001881/1.219, allocations: 383.8 kB / 1.271 GB, free: 12.3 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.000802/1.22, allocations: 245.3 kB / 1.271 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005988/1.226, allocations: 2.981 MB / 1.274 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.226, allocations: 7.938 kB / 1.274 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.229, allocations: 1.349 MB / 1.275 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/1.231, allocations: 466.3 kB / 1.276 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009645/1.241, allocations: 4.19 MB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/1.244, allocations: 1.604 MB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003113/1.247, allocations: 0.5954 MB / 1.282 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.248, allocations: 139.3 kB / 1.282 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.248, allocations: 0 / 1.282 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of Templates: time 0.05772/1.306, allocations: 33.48 MB / 1.315 GB, free: 15.39 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