Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001692/0.001692, allocations: 175.5 kB / 0.4902 GB, free: 2.262 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.785/1.785, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009677/0.0009679, allocations: 100.1 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004169, allocations: 13.62 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.996/4.34, allocations: 1.725 GB / 2.955 GB, free: 261.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/4.34, allocations: 100.5 kB / 2.955 GB, free: 261.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2149/4.555, allocations: 106 MB / 3.058 GB, free: 154.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.974e-06/4.555, allocations: 0 / 3.058 GB, free: 154.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001488/4.556, allocations: 16 kB / 3.058 GB, free: 154.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.004891/4.56, allocations: 1.882 MB / 3.06 GB, free: 152.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/4.561, allocations: 16.45 kB / 3.06 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/4.577, allocations: 2.183 MB / 3.062 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/4.58, allocations: 1.34 MB / 3.064 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/4.581, allocations: 16.23 kB / 3.064 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/4.581, allocations: 20 kB / 3.064 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/4.586, allocations: 1.266 MB / 3.065 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/4.586, allocations: 0 / 3.065 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/4.586, allocations: 7.953 kB / 3.065 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/4.586, allocations: 4 kB / 3.065 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0085/4.595, allocations: 2.091 MB / 3.067 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/4.606, allocations: 3.374 MB / 3.07 GB, free: 142.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/4.618, allocations: 2.772 MB / 3.073 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.938e-05/4.618, allocations: 12.06 kB / 3.073 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004779/4.623, allocations: 1.228 MB / 3.074 GB, free: 138.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 4.027e-06/4.623, allocations: 4 kB / 3.074 GB, free: 138.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.03361/4.656, allocations: 4.938 MB / 3.079 GB, free: 133.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/4.656, allocations: 136.5 kB / 3.079 GB, free: 133.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/4.661, allocations: 2.214 MB / 3.081 GB, free: 130.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/4.662, allocations: 29.7 kB / 3.081 GB, free: 130.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008695/4.662, allocations: 0.5544 MB / 3.082 GB, free: 130.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/4.663, allocations: 59.19 kB / 3.082 GB, free: 130.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/4.663, allocations: 4 kB / 3.082 GB, free: 130.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001135/4.663, allocations: 325.9 kB / 3.082 GB, free: 129.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/4.668, allocations: 1.21 MB / 3.083 GB, free: 128.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/4.673, allocations: 1.246 MB / 3.085 GB, free: 127.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/4.677, allocations: 1.134 MB / 3.086 GB, free: 126.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/4.677, allocations: 0 / 3.086 GB, free: 126.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02749/4.705, allocations: 4.13 MB / 3.09 GB, free: 122.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/4.705, allocations: 226.1 kB / 3.09 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/4.705, allocations: 0 / 3.09 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/4.71, allocations: 0.9248 MB / 3.091 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/4.712, allocations: 427.4 kB / 3.091 GB, free: 120.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/4.718, allocations: 3.507 MB / 3.095 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/4.721, allocations: 483.1 kB / 3.095 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/4.722, allocations: 43.89 kB / 3.095 GB, free: 116.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/4.722, allocations: 8 kB / 3.095 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02756/4.749, allocations: 3.903 MB / 3.099 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/4.749, allocations: 0 / 3.099 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/4.752, allocations: 0.7962 MB / 3.1 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/4.755, allocations: 431.4 kB / 3.1 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007832/4.763, allocations: 7.081 MB / 3.107 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/4.766, allocations: 475.2 kB / 3.108 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/4.767, allocations: 35.97 kB / 3.108 GB, free: 103.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001284/4.768, allocations: 0.6836 MB / 3.108 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/4.768, allocations: 134.3 kB / 3.108 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02636/4.795, allocations: 3.56 MB / 3.112 GB, free: 98.67 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/4.795, allocations: 4 kB / 3.112 GB, free: 98.67 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/4.795, allocations: 4 kB / 3.112 GB, free: 98.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/4.795, allocations: 0 / 3.112 GB, free: 98.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/4.798, allocations: 1.108 MB / 3.113 GB, free: 97.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/4.798, allocations: 4 kB / 3.113 GB, free: 97.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/4.8, allocations: 391.5 kB / 3.113 GB, free: 97.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006426/4.801, allocations: 180.5 kB / 3.113 GB, free: 96.94 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/4.801, allocations: 15.97 kB / 3.114 GB, free: 96.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/4.802, allocations: 0.6616 MB / 3.114 GB, free: 96.24 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/4.802, allocations: 0 / 3.114 GB, free: 96.24 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02703/4.829, allocations: 3.536 MB / 3.118 GB, free: 92.66 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/4.83, allocations: 435.1 kB / 3.118 GB, free: 92.21 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/4.831, allocations: 8 kB / 3.118 GB, free: 92.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/4.834, allocations: 415.5 kB / 3.118 GB, free: 91.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/4.834, allocations: 27.89 kB / 3.118 GB, free: 91.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/4.834, allocations: 35.95 kB / 3.118 GB, free: 91.74 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003162/4.838, allocations: 1.711 MB / 3.12 GB, free: 90.03 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.838, allocations: 0 / 3.12 GB, free: 90.03 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002654/4.84, allocations: 0.5973 MB / 3.121 GB, free: 89.43 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00236/4.843, allocations: 1.008 MB / 3.122 GB, free: 88.43 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02096/4.864, allocations: 4.938 MB / 3.127 GB, free: 83.41 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/4.864, allocations: 4 kB / 3.127 GB, free: 83.41 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004749/4.868, allocations: 1.197 MB / 3.128 GB, free: 82.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/4.87, allocations: 318.7 kB / 3.128 GB, free: 81.89 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/4.889, allocations: 4.601 MB / 3.133 GB, free: 77.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/4.891, allocations: 1.41 MB / 3.134 GB, free: 75.81 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002012/4.893, allocations: 382.7 kB / 3.134 GB, free: 75.43 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/4.893, allocations: 83.38 kB / 3.134 GB, free: 75.35 MB / 1.167 GB Notification: Performance of SimCode: time 1.964e-06/4.894, allocations: 0 / 3.134 GB, free: 75.35 MB / 1.167 GB Notification: Performance of Templates: time 0.05542/4.949, allocations: 38.11 MB / 3.172 GB, free: 37.35 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches