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.0009415/0.0009414, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00761/0.007611, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 15.88 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3686, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003643/0.3722, allocations: 2.755 MB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004777/0.377, allocations: 3.31 MB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.3774, allocations: 7.938 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3788, allocations: 0.5641 MB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.3791, allocations: 115.2 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3806, allocations: 0.5984 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.3821, allocations: 1.571 MB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.3825, allocations: 241.2 kB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006115/0.3831, allocations: 0.5098 MB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.3838, allocations: 0.5837 MB / 1.069 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.384, allocations: 80 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.3849, allocations: 0.5735 MB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.3855, allocations: 0.5649 MB / 1.07 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.3863, allocations: 0.8411 MB / 1.071 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.3892, allocations: 3.263 MB / 1.074 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3892, allocations: 0 / 1.074 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3892, allocations: 0 / 1.074 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.3893, allocations: 0 / 1.074 GB, free: 5.844 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.003007/0.3923, allocations: 1.854 MB / 1.076 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3923, allocations: 8.031 kB / 1.076 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006576/0.3989, allocations: 0.6738 MB / 1.076 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.4016, allocations: 1.631 MB / 1.078 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4018, allocations: 132.5 kB / 1.078 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.4019, allocations: 32.38 kB / 1.078 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.4056, allocations: 1.907 MB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4057, allocations: 0 / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.4058, allocations: 12 kB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4058, allocations: 11.98 kB / 1.08 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.4116, allocations: 2.665 MB / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008572/0.4202, allocations: 4.648 MB / 1.087 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.4308, allocations: 2.986 MB / 1.09 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.4334, allocations: 1.205 MB / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.591e-05/0.4334, allocations: 12.42 kB / 1.091 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003544/0.437, allocations: 1.804 MB / 1.093 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.497e-06/0.437, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.008943/0.446, allocations: 3.704 MB / 1.097 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/0.4462, allocations: 101.6 kB / 1.097 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/0.4506, allocations: 2.751 MB / 1.099 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.4509, allocations: 57.69 kB / 1.099 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000747/0.4516, allocations: 0.697 MB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.4518, allocations: 181.5 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.452, allocations: 53.69 kB / 1.1 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4521, allocations: 341.8 kB / 1.101 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.455, allocations: 1.466 MB / 1.102 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/0.4579, allocations: 1.453 MB / 1.104 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/0.463, allocations: 2.262 MB / 1.106 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.463, allocations: 0 / 1.106 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00658/0.4696, allocations: 3.018 MB / 1.109 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4697, allocations: 91.38 kB / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4697, allocations: 0 / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4698, allocations: 0 / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4711, allocations: 195.7 kB / 1.109 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4711, allocations: 8 kB / 1.109 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4727, allocations: 123.4 kB / 1.109 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.4728, allocations: 47.94 kB / 1.109 GB, free: 1.312 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.001382/0.4742, allocations: 0.7777 MB / 1.11 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/0.4748, allocations: 181.8 kB / 1.11 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006326/0.4811, allocations: 2.716 MB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4811, allocations: 4 kB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4811, allocations: 0 / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4812, allocations: 3.984 kB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.4845, allocations: 2.319 MB / 1.115 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4846, allocations: 11.88 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.4859, allocations: 191.7 kB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.4859, allocations: 0 / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-05/0.486, allocations: 39.94 kB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.486, allocations: 0 / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.486, allocations: 8 kB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/0.4921, allocations: 2.594 MB / 1.118 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.4932, allocations: 0.5806 MB / 1.118 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/0.4937, allocations: 59.97 kB / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.4954, allocations: 151.8 kB / 1.119 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.4956, allocations: 60.47 kB / 1.119 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.4957, allocations: 43.94 kB / 1.119 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003942/0.4997, allocations: 1.976 MB / 1.121 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.814e-06/0.4997, allocations: 0 / 1.121 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00161/0.5013, allocations: 379.7 kB / 1.121 GB, free: 5.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.0008129/0.5021, allocations: 256.4 kB / 1.121 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006029/0.5082, allocations: 3.024 MB / 1.124 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5082, allocations: 0 / 1.124 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.511, allocations: 1.365 MB / 1.125 GB, free: 400 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.5135, allocations: 445 kB / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008997/0.5225, allocations: 4.62 MB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.5242, allocations: 1.604 MB / 1.132 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002318/0.5265, allocations: 0.611 MB / 1.133 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.5272, allocations: 131.3 kB / 1.133 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of SimCode: time 6.11e-07/0.5272, allocations: 0 / 1.133 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of Templates: time 0.05337/0.5806, allocations: 31.04 MB / 1.163 GB, free: 10.11 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