Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 390.5 MB / 398 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 184.2 kB / 491.2 MB, free: 1.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.722/1.722, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 102.1 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.753e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3048, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/5.292, allocations: 1.728 GB / 2.941 GB, free: 136.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/5.292, allocations: 104.8 kB / 2.941 GB, free: 136.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08481/5.377, allocations: 41.39 MB / 2.981 GB, free: 95.24 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.513e-06/5.377, allocations: 4 kB / 2.981 GB, free: 95.23 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.713e-05/5.377, allocations: 20 kB / 2.981 GB, free: 95.21 MB / 1.151 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.002119/5.379, allocations: 1.429 MB / 2.983 GB, free: 93.72 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/5.379, allocations: 12.03 kB / 2.983 GB, free: 93.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/5.385, allocations: 0.6456 MB / 2.983 GB, free: 93.06 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/5.388, allocations: 1.697 MB / 2.985 GB, free: 91.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/5.388, allocations: 132.1 kB / 2.985 GB, free: 91.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/5.389, allocations: 27.98 kB / 2.985 GB, free: 91.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003212/5.392, allocations: 2.801 MB / 2.988 GB, free: 88.35 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/5.394, allocations: 1.958 MB / 2.99 GB, free: 86.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/5.394, allocations: 4 kB / 2.99 GB, free: 86.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/5.394, allocations: 11.94 kB / 2.99 GB, free: 86.37 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/5.394, allocations: 8 kB / 2.99 GB, free: 86.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008674/5.403, allocations: 5.057 MB / 2.995 GB, free: 81.27 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007212/5.41, allocations: 3.095 MB / 2.998 GB, free: 78.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/5.411, allocations: 1.232 MB / 2.999 GB, free: 76.92 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.9e-05/5.412, allocations: 24.41 kB / 2.999 GB, free: 76.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001968/5.413, allocations: 1.877 MB / 3.001 GB, free: 75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.467e-06/5.414, allocations: 0 / 3.001 GB, free: 75 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004321/5.418, allocations: 2.691 MB / 3.003 GB, free: 72.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/5.418, allocations: 93.66 kB / 3.004 GB, free: 72.19 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/5.421, allocations: 2.343 MB / 3.006 GB, free: 69.85 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/5.421, allocations: 45.69 kB / 3.006 GB, free: 69.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/5.422, allocations: 0.6458 MB / 3.006 GB, free: 69.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/5.422, allocations: 185.4 kB / 3.007 GB, free: 68.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/5.422, allocations: 4 kB / 3.007 GB, free: 68.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/5.422, allocations: 334 kB / 3.007 GB, free: 68.63 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/5.424, allocations: 1.579 MB / 3.009 GB, free: 67.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/5.425, allocations: 1.554 MB / 3.01 GB, free: 65.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/5.427, allocations: 1.454 MB / 3.011 GB, free: 64.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/5.427, allocations: 0 / 3.011 GB, free: 64.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004678/5.432, allocations: 3.355 MB / 3.015 GB, free: 60.67 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/5.432, allocations: 87.38 kB / 3.015 GB, free: 60.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/5.432, allocations: 3.984 kB / 3.015 GB, free: 60.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/5.432, allocations: 3.953 kB / 3.015 GB, free: 60.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/5.434, allocations: 235.7 kB / 3.015 GB, free: 60.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/5.434, allocations: 7.938 kB / 3.015 GB, free: 60.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/5.436, allocations: 103.7 kB / 3.015 GB, free: 60.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/5.436, allocations: 111.9 kB / 3.015 GB, free: 60.12 MB / 1.151 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.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete 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.0006055/5.436, allocations: 171.9 kB / 3.015 GB, free: 59.94 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008016/5.437, allocations: 165.9 kB / 3.016 GB, free: 59.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/5.442, allocations: 2.975 MB / 3.019 GB, free: 56.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/5.442, allocations: 15.95 kB / 3.019 GB, free: 56.78 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/5.442, allocations: 0 / 3.019 GB, free: 56.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/5.442, allocations: 3.984 kB / 3.019 GB, free: 56.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/5.446, allocations: 2.461 MB / 3.021 GB, free: 54.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/5.446, allocations: 0 / 3.021 GB, free: 54.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/5.448, allocations: 219.7 kB / 3.021 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/5.448, allocations: 4 kB / 3.021 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/5.448, allocations: 47.92 kB / 3.021 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/5.448, allocations: 4 kB / 3.021 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/5.448, allocations: 0 / 3.021 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/5.452, allocations: 2.752 MB / 3.024 GB, free: 51.23 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/5.454, allocations: 0.7681 MB / 3.025 GB, free: 50.44 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006496/5.454, allocations: 51.97 kB / 3.025 GB, free: 50.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/5.456, allocations: 143.8 kB / 3.025 GB, free: 50.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/5.456, allocations: 60.47 kB / 3.025 GB, free: 50.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/5.457, allocations: 115.9 kB / 3.025 GB, free: 50.07 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003649/5.46, allocations: 1.809 MB / 3.027 GB, free: 48.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.46, allocations: 0 / 3.027 GB, free: 48.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00207/5.462, allocations: 435.6 kB / 3.027 GB, free: 47.85 MB / 1.151 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.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.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.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * 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.001628/5.464, allocations: 469 kB / 3.028 GB, free: 47.38 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003766/5.468, allocations: 3.198 MB / 3.031 GB, free: 44.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/5.468, allocations: 0 / 3.031 GB, free: 44.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/5.469, allocations: 1.399 MB / 3.032 GB, free: 42.75 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/5.472, allocations: 398.5 kB / 3.032 GB, free: 42.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/5.48, allocations: 3.623 MB / 3.036 GB, free: 38.71 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/5.481, allocations: 1.603 MB / 3.038 GB, free: 37.07 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00315/5.485, allocations: 0.8212 MB / 3.038 GB, free: 36.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/5.486, allocations: 159.3 kB / 3.039 GB, free: 36.09 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/5.486, allocations: 0 / 3.039 GB, free: 36.09 MB / 1.151 GB Notification: Performance of Templates: time 0.04652/5.532, allocations: 29.52 MB / 3.067 GB, free: 6.676 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches