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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 194 kB / 16.53 MB, free: 6.391 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.83 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3569, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004993/0.3619, allocations: 3.09 MB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004632/0.3666, allocations: 3.341 MB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.3668, allocations: 7.938 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.3682, allocations: 0.5678 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3686, allocations: 131 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.3703, allocations: 0.6922 MB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3719, allocations: 1.674 MB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.3723, allocations: 253.2 kB / 1.078 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.3732, allocations: 0.584 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3743, allocations: 0.6072 MB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.3747, allocations: 140 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.3759, allocations: 0.6399 MB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005865/0.3765, allocations: 0.6235 MB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.3776, allocations: 0.8746 MB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.381, allocations: 3.396 MB / 1.084 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.381, allocations: 0 / 1.084 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.381, allocations: 3.938 kB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.3811, allocations: 0 / 1.084 GB, free: 9.711 MB / 0.8419 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.005051/0.3861, allocations: 2.179 MB / 1.087 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.3862, allocations: 12.03 kB / 1.087 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/0.3926, allocations: 0.6465 MB / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.3955, allocations: 1.631 MB / 1.089 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.3958, allocations: 136.5 kB / 1.089 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3959, allocations: 32.38 kB / 1.089 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.3997, allocations: 1.884 MB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3997, allocations: 4 kB / 1.091 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.3999, allocations: 19.98 kB / 1.091 GB, free: 3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.3999, allocations: 8 kB / 1.091 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/0.4055, allocations: 2.618 MB / 1.093 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00942/0.415, allocations: 4.593 MB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.4253, allocations: 2.897 MB / 1.101 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.4279, allocations: 1.181 MB / 1.102 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-05/0.428, allocations: 24.41 kB / 1.102 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003553/0.4316, allocations: 1.784 MB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 2.795e-06/0.4316, allocations: 0 / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.008504/0.4401, allocations: 3.633 MB / 1.107 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.4402, allocations: 97.66 kB / 1.107 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/0.4442, allocations: 2.755 MB / 1.11 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.4444, allocations: 53.69 kB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.4452, allocations: 0.6971 MB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.4454, allocations: 189.5 kB / 1.111 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.4458, allocations: 154.1 kB / 1.111 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4459, allocations: 333.9 kB / 1.111 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.4488, allocations: 1.454 MB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.4516, allocations: 1.422 MB / 1.114 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/0.4564, allocations: 2.226 MB / 1.116 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4565, allocations: 3.938 kB / 1.116 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006214/0.4627, allocations: 2.975 MB / 1.119 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.4628, allocations: 83.38 kB / 1.119 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4628, allocations: 4 kB / 1.119 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.4629, allocations: 0 / 1.119 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4643, allocations: 183.7 kB / 1.119 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4643, allocations: 0 / 1.119 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.466, allocations: 115.5 kB / 1.12 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.4661, allocations: 51.94 kB / 1.12 GB, free: 5.227 MB / 0.8731 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.001547/0.4677, allocations: 0.7723 MB / 1.12 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/0.4681, allocations: 185.7 kB / 1.121 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.4741, allocations: 2.673 MB / 1.123 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.4741, allocations: 4 kB / 1.123 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.4741, allocations: 0 / 1.123 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4742, allocations: 4 kB / 1.123 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.4771, allocations: 2.323 MB / 1.125 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4772, allocations: 3.938 kB / 1.125 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.4785, allocations: 183.7 kB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4786, allocations: 0 / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4787, allocations: 39.94 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4787, allocations: 3.938 kB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4787, allocations: 0 / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/0.4846, allocations: 2.563 MB / 1.128 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.4857, allocations: 0.5806 MB / 1.129 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.486, allocations: 59.97 kB / 1.129 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.4875, allocations: 127.8 kB / 1.129 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4876, allocations: 52.5 kB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.4878, allocations: 47.92 kB / 1.129 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003178/0.4909, allocations: 1.976 MB / 1.131 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.335e-06/0.491, allocations: 0 / 1.131 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001444/0.4924, allocations: 375.8 kB / 1.131 GB, free: 9.098 MB / 0.8887 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.0006358/0.4931, allocations: 247 kB / 1.132 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006267/0.4993, allocations: 3.149 MB / 1.135 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4994, allocations: 0 / 1.135 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.5021, allocations: 1.349 MB / 1.136 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.5042, allocations: 475 kB / 1.136 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/0.5123, allocations: 4.222 MB / 1.14 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.5137, allocations: 1.604 MB / 1.142 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002248/0.5159, allocations: 0.5993 MB / 1.143 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.5165, allocations: 135.3 kB / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.5165, allocations: 4 kB / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.05836/0.5748, allocations: 32.68 MB / 1.175 GB, free: 12.8 MB / 0.9356 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