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.001357/0.001357, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001621/0.001621, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.929/2.929, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003913, allocations: 12.81 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004057/0.3764, allocations: 2.636 MB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005175/0.3816, allocations: 3.074 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.3821, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.3841, allocations: 0.5097 MB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.3846, allocations: 115.2 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.3866, allocations: 0.5618 MB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.3883, allocations: 1.298 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.3887, allocations: 228 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009785/0.3897, allocations: 0.514 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009682/0.3907, allocations: 0.5605 MB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.391, allocations: 80 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3923, allocations: 0.5501 MB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.3929, allocations: 0.5572 MB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006825/0.3936, allocations: 344.7 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.3971, allocations: 2.782 MB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.3971, allocations: 4 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3972, allocations: 3.938 kB / 1.072 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000102/0.3973, allocations: 0 / 1.072 GB, free: 7.488 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.00596/0.4032, allocations: 1.857 MB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/0.4033, allocations: 16.02 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006071/0.4094, allocations: 0.6651 MB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.4128, allocations: 1.561 MB / 1.076 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4131, allocations: 132 kB / 1.076 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.4132, allocations: 28 kB / 1.076 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.4167, allocations: 1.911 MB / 1.078 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4168, allocations: 4 kB / 1.078 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4169, allocations: 12 kB / 1.078 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4169, allocations: 4 kB / 1.078 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0052/0.4221, allocations: 2.661 MB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009145/0.4313, allocations: 4.636 MB / 1.085 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009/0.4403, allocations: 2.983 MB / 1.088 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.4427, allocations: 1.209 MB / 1.089 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.18e-05/0.4428, allocations: 16.42 kB / 1.089 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003306/0.4461, allocations: 1.8 MB / 1.091 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 7.454e-06/0.4461, allocations: 4 kB / 1.091 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.007711/0.4538, allocations: 3.696 MB / 1.094 GB, free: 16 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.454, allocations: 97.66 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/0.4597, allocations: 2.736 MB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.4601, allocations: 61.62 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000801/0.4609, allocations: 0.6971 MB / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.4612, allocations: 185.5 kB / 1.098 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.4613, allocations: 12 kB / 1.098 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4614, allocations: 326 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.4641, allocations: 1.47 MB / 1.1 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.4665, allocations: 1.465 MB / 1.101 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.4687, allocations: 1.224 MB / 1.102 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4687, allocations: 0 / 1.102 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005649/0.4743, allocations: 3.014 MB / 1.105 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-05/0.4745, allocations: 87.36 kB / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4745, allocations: 0 / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4745, allocations: 7.953 kB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.4757, allocations: 195.7 kB / 1.105 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4757, allocations: 4 kB / 1.105 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4772, allocations: 123.5 kB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4773, allocations: 43.94 kB / 1.106 GB, free: 4.152 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001434/0.4788, allocations: 0.7724 MB / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.4792, allocations: 177.8 kB / 1.107 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005419/0.4846, allocations: 2.712 MB / 1.109 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4847, allocations: 4 kB / 1.109 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4847, allocations: 7.953 kB / 1.109 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4847, allocations: 0 / 1.109 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.488, allocations: 2.327 MB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.488, allocations: 8 kB / 1.111 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.4892, allocations: 187.7 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.4892, allocations: 7.984 kB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.4893, allocations: 35.94 kB / 1.112 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4893, allocations: 8 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4893, allocations: 3.984 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.4946, allocations: 2.59 MB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.4958, allocations: 0.5844 MB / 1.115 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004975/0.4963, allocations: 63.97 kB / 1.115 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.4978, allocations: 147.8 kB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.498, allocations: 60.47 kB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.4981, allocations: 43.94 kB / 1.115 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00371/0.5018, allocations: 1.96 MB / 1.117 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5018, allocations: 0 / 1.117 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001459/0.5033, allocations: 383.8 kB / 1.117 GB, free: 7.922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007248/0.504, allocations: 242 kB / 1.118 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005389/0.5094, allocations: 3.02 MB / 1.121 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5094, allocations: 0 / 1.121 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.5119, allocations: 1.365 MB / 1.122 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.5148, allocations: 466.3 kB / 1.122 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.5248, allocations: 4.452 MB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.5267, allocations: 1.596 MB / 1.128 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002923/0.5297, allocations: 0.6071 MB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009107/0.5306, allocations: 135.3 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of SimCode: time 2.444e-06/0.5306, allocations: 0 / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.05969/0.5903, allocations: 30.21 MB / 1.158 GB, free: 13.97 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