Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001056/0.001056, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.568/1.568, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 102.7 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.721e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.629/4.917, allocations: 1.724 GB / 2.93 GB, free: 134.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/4.917, allocations: 97.06 kB / 2.93 GB, free: 134.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1903/5.108, allocations: 90.6 MB / 3.018 GB, free: 49.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.777e-06/5.108, allocations: 0 / 3.018 GB, free: 49.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002942/5.108, allocations: 16 kB / 3.018 GB, free: 49.18 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.005504/5.113, allocations: 1.398 MB / 3.02 GB, free: 47.72 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/5.114, allocations: 12.03 kB / 3.02 GB, free: 47.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/5.129, allocations: 2.183 MB / 3.022 GB, free: 45.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/5.132, allocations: 1.309 MB / 3.023 GB, free: 44.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/5.132, allocations: 4 kB / 3.023 GB, free: 44.16 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/5.133, allocations: 12 kB / 3.023 GB, free: 44.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008832/5.133, allocations: 0.5858 MB / 3.024 GB, free: 43.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/5.134, allocations: 0.4969 MB / 3.024 GB, free: 43.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/5.134, allocations: 0 / 3.024 GB, free: 43.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/5.134, allocations: 3.953 kB / 3.024 GB, free: 43.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/5.134, allocations: 4 kB / 3.024 GB, free: 43.05 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/5.147, allocations: 3.309 MB / 3.028 GB, free: 39.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/5.148, allocations: 0.7275 MB / 3.028 GB, free: 38.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/5.149, allocations: 321.6 kB / 3.029 GB, free: 38.62 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.274e-05/5.149, allocations: 7.938 kB / 3.029 GB, free: 38.62 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007935/5.15, allocations: 487.3 kB / 3.029 GB, free: 38.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 4.439e-06/5.15, allocations: 0 / 3.029 GB, free: 38.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.01956/5.169, allocations: 2.39 MB / 3.031 GB, free: 35.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/5.17, allocations: 136.5 kB / 3.032 GB, free: 35.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/5.174, allocations: 2.089 MB / 3.034 GB, free: 33.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/5.174, allocations: 29.7 kB / 3.034 GB, free: 33.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/5.175, allocations: 0.5466 MB / 3.034 GB, free: 32.87 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/5.175, allocations: 55.2 kB / 3.034 GB, free: 32.81 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/5.175, allocations: 4 kB / 3.034 GB, free: 32.81 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/5.175, allocations: 322 kB / 3.035 GB, free: 32.49 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/5.176, allocations: 472.1 kB / 3.035 GB, free: 32.03 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/5.177, allocations: 0.5047 MB / 3.035 GB, free: 31.51 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02269/5.199, allocations: 9.735 MB / 3.045 GB, free: 21.76 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/5.199, allocations: 3.953 kB / 3.045 GB, free: 21.76 MB / 1.151 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.04013/5.239, allocations: 11.96 MB / 3.057 GB, free: 9.754 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/5.24, allocations: 222 kB / 3.057 GB, free: 9.516 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/5.24, allocations: 8.031 kB / 3.057 GB, free: 9.508 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/5.243, allocations: 0.8234 MB / 3.058 GB, free: 8.668 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/5.246, allocations: 435.4 kB / 3.058 GB, free: 8.242 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/5.25, allocations: 3.507 MB / 3.062 GB, free: 4.605 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/5.254, allocations: 475.1 kB / 3.062 GB, free: 4.141 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/5.254, allocations: 39.91 kB / 3.062 GB, free: 4.102 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/5.254, allocations: 4 kB / 3.062 GB, free: 4.098 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.795/6.049, allocations: 11.68 MB / 3.073 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/6.049, allocations: 0.9375 kB / 3.073 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/6.052, allocations: 0.7578 MB / 3.074 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/6.054, allocations: 429.2 kB / 3.075 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007171/6.062, allocations: 6.73 MB / 3.081 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/6.065, allocations: 461.6 kB / 3.082 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/6.065, allocations: 38.48 kB / 3.082 GB, free: 382.6 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.0003417/6.066, allocations: 155.5 kB / 3.082 GB, free: 382.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/6.066, allocations: 139.2 kB / 3.082 GB, free: 382.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/6.085, allocations: 2.172 MB / 3.084 GB, free: 382.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/6.085, allocations: 7.031 kB / 3.084 GB, free: 382.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/6.085, allocations: 3.344 kB / 3.084 GB, free: 382.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/6.085, allocations: 6.047 kB / 3.084 GB, free: 382.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/6.087, allocations: 1.062 MB / 3.085 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/6.087, allocations: 5.375 kB / 3.085 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/6.09, allocations: 398 kB / 3.085 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/6.09, allocations: 125.6 kB / 3.086 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-05/6.09, allocations: 22.44 kB / 3.086 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005935/6.091, allocations: 0.6203 MB / 3.086 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.091, allocations: 0.8438 kB / 3.086 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/6.109, allocations: 2.122 MB / 3.088 GB, free: 381.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/6.111, allocations: 442.2 kB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/6.111, allocations: 3 kB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/6.114, allocations: 411.4 kB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/6.114, allocations: 24.69 kB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/6.114, allocations: 35.39 kB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002577/6.117, allocations: 1.594 MB / 3.091 GB, free: 381.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/6.117, allocations: 0 / 3.091 GB, free: 381.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002174/6.119, allocations: 0.5706 MB / 3.091 GB, free: 381.1 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.001817/6.121, allocations: 1.098 MB / 3.092 GB, free: 380.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008063/6.129, allocations: 2.691 MB / 3.095 GB, free: 380.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/6.129, allocations: 1.031 kB / 3.095 GB, free: 380.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/6.13, allocations: 437.5 kB / 3.095 GB, free: 380.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/6.132, allocations: 330 kB / 3.096 GB, free: 380.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/6.146, allocations: 3.266 MB / 3.099 GB, free: 379.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/6.147, allocations: 1.415 MB / 3.1 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003604/6.151, allocations: 0.9995 MB / 3.101 GB, free: 379.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/6.151, allocations: 62.25 kB / 3.101 GB, free: 379.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.412e-06/6.151, allocations: 5.156 kB / 3.101 GB, free: 379.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05083/6.202, allocations: 31.87 MB / 3.132 GB, free: 376.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches