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.466/2.466, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001195/0.001195, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009654/0.0009656, allocations: 98.33 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.194e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.301, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.724/5.025, allocations: 1.725 GB / 2.944 GB, free: 89.24 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.025, allocations: 95.94 kB / 2.944 GB, free: 89.15 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9719/5.997, allocations: 105.9 MB / 3.048 GB, free: 398.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.774e-06/5.997, allocations: 1.031 kB / 3.048 GB, free: 398.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.704e-05/5.997, allocations: 16.22 kB / 3.048 GB, free: 398.7 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.003491/6.001, allocations: 1.401 MB / 3.049 GB, free: 398 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/6.001, allocations: 9.969 kB / 3.049 GB, free: 398 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/6.018, allocations: 2.184 MB / 3.051 GB, free: 397.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/6.021, allocations: 1.309 MB / 3.052 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/6.021, allocations: 13.7 kB / 3.052 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/6.022, allocations: 19.47 kB / 3.052 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/6.023, allocations: 0.5063 MB / 3.053 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/6.023, allocations: 3.375 kB / 3.053 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/6.023, allocations: 7.797 kB / 3.053 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/6.023, allocations: 5.281 kB / 3.053 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/6.024, allocations: 0.588 MB / 3.054 GB, free: 397.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/6.035, allocations: 3.365 MB / 3.057 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/6.037, allocations: 0.7396 MB / 3.058 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/6.037, allocations: 327 kB / 3.058 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.18e-05/6.037, allocations: 12.05 kB / 3.058 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008651/6.038, allocations: 489.3 kB / 3.058 GB, free: 397 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.966e-06/6.038, allocations: 0 / 3.058 GB, free: 397 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.01762/6.056, allocations: 2.089 MB / 3.06 GB, free: 396.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/6.056, allocations: 135.9 kB / 3.061 GB, free: 396.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/6.061, allocations: 2.181 MB / 3.063 GB, free: 396.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/6.061, allocations: 38.36 kB / 3.063 GB, free: 396.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/6.062, allocations: 0.546 MB / 3.063 GB, free: 396.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/6.062, allocations: 58.66 kB / 3.063 GB, free: 396.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/6.062, allocations: 7.969 kB / 3.063 GB, free: 396.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/6.062, allocations: 323.5 kB / 3.064 GB, free: 396 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008757/6.063, allocations: 462.8 kB / 3.064 GB, free: 396 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/6.064, allocations: 0.4988 MB / 3.065 GB, free: 396 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007738/6.065, allocations: 423.4 kB / 3.065 GB, free: 395.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/6.065, allocations: 0 / 3.065 GB, free: 395.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.01883/6.084, allocations: 2.654 MB / 3.068 GB, free: 395.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/6.084, allocations: 225.1 kB / 3.068 GB, free: 395.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/6.084, allocations: 1.031 kB / 3.068 GB, free: 395.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/6.088, allocations: 0.8763 MB / 3.069 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/6.091, allocations: 426.1 kB / 3.069 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/6.095, allocations: 3.446 MB / 3.072 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/6.099, allocations: 480.1 kB / 3.073 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/6.1, allocations: 43.23 kB / 3.073 GB, free: 392.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/6.1, allocations: 4 kB / 3.073 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01757/6.117, allocations: 2.426 MB / 3.075 GB, free: 391.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/6.117, allocations: 0 / 3.075 GB, free: 391.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/6.12, allocations: 0.7515 MB / 3.076 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/6.123, allocations: 431.6 kB / 3.076 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/6.131, allocations: 6.963 MB / 3.083 GB, free: 385.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/6.135, allocations: 465.9 kB / 3.084 GB, free: 385.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/6.135, allocations: 43.52 kB / 3.084 GB, free: 385.3 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 () * 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.0004214/6.135, allocations: 154.3 kB / 3.084 GB, free: 385.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/6.136, allocations: 140.6 kB / 3.084 GB, free: 385.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/6.153, allocations: 2.125 MB / 3.086 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/6.153, allocations: 6.156 kB / 3.086 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/6.153, allocations: 1.094 kB / 3.086 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/6.153, allocations: 4.719 kB / 3.086 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/6.157, allocations: 1.11 MB / 3.087 GB, free: 384.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/6.157, allocations: 1.219 kB / 3.087 GB, free: 384.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/6.16, allocations: 399.9 kB / 3.087 GB, free: 384 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/6.16, allocations: 125.9 kB / 3.088 GB, free: 384 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/6.161, allocations: 21.19 kB / 3.088 GB, free: 384 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007935/6.162, allocations: 0.6046 MB / 3.088 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/6.162, allocations: 1.125 kB / 3.088 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/6.179, allocations: 2.073 MB / 3.09 GB, free: 382.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/6.181, allocations: 436.2 kB / 3.091 GB, free: 382.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/6.182, allocations: 8.531 kB / 3.091 GB, free: 382.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003653/6.186, allocations: 418.9 kB / 3.091 GB, free: 382.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/6.186, allocations: 25.97 kB / 3.091 GB, free: 382.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/6.186, allocations: 36.05 kB / 3.091 GB, free: 382.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003436/6.189, allocations: 1.676 MB / 3.093 GB, free: 382 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/6.189, allocations: 0 / 3.093 GB, free: 382 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003134/6.193, allocations: 0.5957 MB / 3.093 GB, free: 381.9 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) * 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.001952/6.195, allocations: 0.9936 MB / 3.094 GB, free: 381.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008952/6.204, allocations: 2.731 MB / 3.097 GB, free: 380.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/6.204, allocations: 3.25 kB / 3.097 GB, free: 380.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/6.205, allocations: 446.9 kB / 3.097 GB, free: 380.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/6.207, allocations: 322 kB / 3.098 GB, free: 380.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/6.221, allocations: 3.265 MB / 3.101 GB, free: 379.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/6.222, allocations: 1.412 MB / 3.102 GB, free: 378.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003341/6.225, allocations: 0.9807 MB / 3.103 GB, free: 378.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/6.226, allocations: 63.67 kB / 3.103 GB, free: 378.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.243e-06/6.226, allocations: 0 / 3.103 GB, free: 378.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05864/6.284, allocations: 43.11 MB / 3.145 GB, free: 353.6 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