Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.5 MB / 257 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 172.8 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 86.55 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.512e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.87/6.056, allocations: 2.184 GB / 3.069 GB, free: 224 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/6.057, allocations: 103.4 kB / 3.07 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1779/6.235, allocations: 92.37 MB / 3.16 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/6.235, allocations: 3.938 kB / 3.16 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.758e-05/6.235, allocations: 20 kB / 3.16 GB, free: 130.4 MB / 0.8698 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.002518/6.237, allocations: 1.405 MB / 3.161 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/6.237, allocations: 12.03 kB / 3.161 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/6.252, allocations: 2.175 MB / 3.163 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/6.254, allocations: 1.309 MB / 3.165 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/6.254, allocations: 4 kB / 3.165 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/6.254, allocations: 16 kB / 3.165 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000756/6.255, allocations: 0.5819 MB / 3.165 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/6.256, allocations: 497 kB / 3.166 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/6.256, allocations: 0 / 3.166 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/6.256, allocations: 3.953 kB / 3.166 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/6.256, allocations: 4 kB / 3.166 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008504/6.264, allocations: 3.304 MB / 3.169 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/6.265, allocations: 0.7353 MB / 3.17 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/6.266, allocations: 317.8 kB / 3.17 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/6.266, allocations: 4 kB / 3.17 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/6.266, allocations: 494.8 kB / 3.17 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 2.865e-06/6.266, allocations: 4 kB / 3.17 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.01781/6.284, allocations: 2.389 MB / 3.173 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/6.284, allocations: 140.4 kB / 3.173 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003268/6.287, allocations: 2.085 MB / 3.175 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003169/6.288, allocations: 25.7 kB / 3.175 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/6.288, allocations: 0.5506 MB / 3.175 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/6.288, allocations: 63.05 kB / 3.175 GB, free: 114 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/6.288, allocations: 4 kB / 3.176 GB, free: 114 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/6.289, allocations: 322 kB / 3.176 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/6.289, allocations: 472.2 kB / 3.176 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/6.29, allocations: 0.4931 MB / 3.177 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02137/6.311, allocations: 9.743 MB / 3.186 GB, free: 103 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/6.311, allocations: 0 / 3.186 GB, free: 103 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.03909/6.35, allocations: 11.96 MB / 3.198 GB, free: 90.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/6.35, allocations: 218.2 kB / 3.198 GB, free: 90.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/6.351, allocations: 4 kB / 3.198 GB, free: 90.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/6.354, allocations: 0.8312 MB / 3.199 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/6.356, allocations: 435.4 kB / 3.199 GB, free: 89.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/6.361, allocations: 3.507 MB / 3.203 GB, free: 85.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/6.365, allocations: 475.1 kB / 3.203 GB, free: 85.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/6.365, allocations: 39.95 kB / 3.203 GB, free: 85.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/6.365, allocations: 4 kB / 3.203 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03659/6.402, allocations: 11.69 MB / 3.215 GB, free: 73.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/6.402, allocations: 4 kB / 3.215 GB, free: 73.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/6.404, allocations: 0.7493 MB / 3.215 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/6.407, allocations: 431.5 kB / 3.216 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/6.413, allocations: 6.742 MB / 3.222 GB, free: 65.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/6.416, allocations: 467.2 kB / 3.223 GB, free: 64.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/6.417, allocations: 40.19 kB / 3.223 GB, free: 64.67 MB / 0.8698 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.0004361/6.417, allocations: 151.8 kB / 3.223 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005265/6.418, allocations: 142.2 kB / 3.223 GB, free: 64.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/6.435, allocations: 2.175 MB / 3.225 GB, free: 62.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/6.435, allocations: 3.953 kB / 3.225 GB, free: 62.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/6.435, allocations: 4 kB / 3.225 GB, free: 62.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/6.435, allocations: 0 / 3.225 GB, free: 62.17 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/6.437, allocations: 1.075 MB / 3.226 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/6.437, allocations: 0 / 3.226 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/6.439, allocations: 387.5 kB / 3.227 GB, free: 60.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/6.44, allocations: 128.7 kB / 3.227 GB, free: 60.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/6.44, allocations: 19.97 kB / 3.227 GB, free: 60.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/6.44, allocations: 0.6264 MB / 3.228 GB, free: 59.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/6.44, allocations: 4.094 kB / 3.228 GB, free: 59.87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/6.457, allocations: 2.117 MB / 3.23 GB, free: 57.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/6.458, allocations: 435.1 kB / 3.23 GB, free: 57.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/6.459, allocations: 8 kB / 3.23 GB, free: 57.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/6.462, allocations: 411.5 kB / 3.23 GB, free: 56.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/6.462, allocations: 19.97 kB / 3.23 GB, free: 56.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/6.462, allocations: 31.95 kB / 3.23 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003036/6.465, allocations: 1.598 MB / 3.232 GB, free: 55.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.465, allocations: 4 kB / 3.232 GB, free: 55.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002719/6.468, allocations: 0.566 MB / 3.233 GB, free: 54.65 MB / 0.8698 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.002022/6.47, allocations: 1.112 MB / 3.234 GB, free: 53.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007693/6.477, allocations: 2.692 MB / 3.236 GB, free: 50.78 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/6.477, allocations: 0 / 3.236 GB, free: 50.78 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/6.478, allocations: 439 kB / 3.237 GB, free: 50.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/6.48, allocations: 321.2 kB / 3.237 GB, free: 50.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/6.493, allocations: 3.288 MB / 3.24 GB, free: 46.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009442/6.494, allocations: 1.413 MB / 3.242 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003216/6.497, allocations: 0.9973 MB / 3.243 GB, free: 44.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/6.498, allocations: 63.39 kB / 3.243 GB, free: 44.19 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/6.498, allocations: 3.938 kB / 3.243 GB, free: 44.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.04445/6.542, allocations: 31.86 MB / 3.274 GB, free: 12.37 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches