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.324/2.324, allocations: 390.5 MB / 398 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.001564/0.001564, allocations: 179.9 kB / 491.2 MB, free: 1.582 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.77/1.77, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001093/0.001093, allocations: 87.89 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.275e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.945/5.268, allocations: 1.725 GB / 2.937 GB, free: 140.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/5.268, allocations: 95.94 kB / 2.937 GB, free: 140.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1825/5.451, allocations: 90.61 MB / 3.026 GB, free: 49.11 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.874e-06/5.451, allocations: 0 / 3.026 GB, free: 49.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.044e-05/5.451, allocations: 20 kB / 3.026 GB, free: 49.09 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.002652/5.454, allocations: 1.405 MB / 3.027 GB, free: 47.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/5.454, allocations: 8.031 kB / 3.027 GB, free: 47.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/5.469, allocations: 2.183 MB / 3.029 GB, free: 45.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/5.472, allocations: 1.301 MB / 3.03 GB, free: 44.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/5.472, allocations: 7.984 kB / 3.03 GB, free: 44.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/5.472, allocations: 12 kB / 3.03 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008092/5.473, allocations: 0.578 MB / 3.031 GB, free: 43.49 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/5.474, allocations: 0.4926 MB / 3.031 GB, free: 42.98 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/5.474, allocations: 3.953 kB / 3.031 GB, free: 42.98 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/5.474, allocations: 0 / 3.031 GB, free: 42.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/5.474, allocations: 4 kB / 3.031 GB, free: 42.97 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009258/5.483, allocations: 3.316 MB / 3.035 GB, free: 39.61 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/5.484, allocations: 0.7236 MB / 3.035 GB, free: 38.87 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/5.484, allocations: 321.6 kB / 3.036 GB, free: 38.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.803e-05/5.485, allocations: 11.94 kB / 3.036 GB, free: 38.54 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/5.485, allocations: 484.6 kB / 3.036 GB, free: 38.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 3.817e-06/5.485, allocations: 0 / 3.036 GB, free: 38.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.01914/5.504, allocations: 2.398 MB / 3.039 GB, free: 35.63 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/5.504, allocations: 136.5 kB / 3.039 GB, free: 35.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/5.508, allocations: 2.096 MB / 3.041 GB, free: 33.36 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003556/5.508, allocations: 25.7 kB / 3.041 GB, free: 33.33 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/5.509, allocations: 0.5467 MB / 3.041 GB, free: 32.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/5.509, allocations: 59.2 kB / 3.041 GB, free: 32.72 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/5.509, allocations: 0 / 3.041 GB, free: 32.72 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001056/5.509, allocations: 321.9 kB / 3.042 GB, free: 32.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/5.51, allocations: 468.2 kB / 3.042 GB, free: 31.95 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/5.51, allocations: 0.4892 MB / 3.043 GB, free: 31.45 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02401/5.534, allocations: 9.743 MB / 3.052 GB, free: 21.69 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/5.535, allocations: 0 / 3.052 GB, free: 21.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.03957/5.574, allocations: 11.96 MB / 3.064 GB, free: 9.688 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/5.574, allocations: 218 kB / 3.064 GB, free: 9.453 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/5.574, allocations: 3.953 kB / 3.064 GB, free: 9.449 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/5.577, allocations: 0.8352 MB / 3.065 GB, free: 8.598 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/5.58, allocations: 427.4 kB / 3.065 GB, free: 8.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/5.585, allocations: 3.523 MB / 3.069 GB, free: 4.527 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/5.588, allocations: 475 kB / 3.069 GB, free: 4.062 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/5.588, allocations: 43.95 kB / 3.069 GB, free: 4.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/5.589, allocations: 4 kB / 3.069 GB, free: 4.016 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9228/6.511, allocations: 11.68 MB / 3.081 GB, free: 384.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/6.511, allocations: 0 / 3.081 GB, free: 384.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/6.515, allocations: 0.7475 MB / 3.081 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/6.518, allocations: 432.8 kB / 3.082 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007981/6.526, allocations: 6.739 MB / 3.088 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/6.53, allocations: 461.8 kB / 3.089 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/6.53, allocations: 38.48 kB / 3.089 GB, free: 378.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: adp.XADP:VARIABLE(min = 0.0 max = 1.0 ) "Humidity mass fraction of air at apparatus dew point" type: Real 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 () * 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.0004601/6.531, allocations: 145.6 kB / 3.089 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/6.531, allocations: 145.7 kB / 3.089 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/6.55, allocations: 2.177 MB / 3.091 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/6.55, allocations: 6.266 kB / 3.091 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/6.55, allocations: 1.062 kB / 3.091 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/6.55, allocations: 1.453 kB / 3.091 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/6.554, allocations: 1.062 MB / 3.092 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/6.554, allocations: 1.781 kB / 3.092 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/6.556, allocations: 391.6 kB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/6.557, allocations: 124.5 kB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/6.557, allocations: 23.31 kB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/6.558, allocations: 0.6195 MB / 3.093 GB, free: 377.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/6.558, allocations: 0 / 3.093 GB, free: 377.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/6.577, allocations: 2.127 MB / 3.095 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/6.578, allocations: 442.1 kB / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/6.578, allocations: 6.828 kB / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/6.582, allocations: 415.8 kB / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/6.582, allocations: 22.06 kB / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/6.582, allocations: 36.16 kB / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00292/6.585, allocations: 1.594 MB / 3.098 GB, free: 377.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/6.585, allocations: 0 / 3.098 GB, free: 377.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002472/6.587, allocations: 0.5579 MB / 3.098 GB, free: 377.4 MB / 1.151 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) * 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.001936/6.589, allocations: 1.114 MB / 3.099 GB, free: 377.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008328/6.598, allocations: 2.692 MB / 3.102 GB, free: 376.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/6.598, allocations: 0 / 3.102 GB, free: 376.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007877/6.598, allocations: 439 kB / 3.103 GB, free: 376.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/6.6, allocations: 314.8 kB / 3.103 GB, free: 376.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/6.615, allocations: 3.28 MB / 3.106 GB, free: 376.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/6.616, allocations: 1.41 MB / 3.107 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003498/6.619, allocations: 0.9991 MB / 3.108 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/6.619, allocations: 67.42 kB / 3.108 GB, free: 375.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/6.62, allocations: 0 / 3.108 GB, free: 375.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04955/6.669, allocations: 31.86 MB / 3.14 GB, free: 372.5 MB / 1.151 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