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.274/2.274, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001123/0.001123, allocations: 168.9 kB / 492.3 MB, free: 0.6055 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.525/1.525, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008816/0.0008817, allocations: 95.39 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.333e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2941, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.674/4.968, allocations: 1.725 GB / 2.937 GB, free: 114.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/4.968, allocations: 97.09 kB / 2.937 GB, free: 114.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1967/5.165, allocations: 105.9 MB / 3.04 GB, free: 13.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.053e-06/5.165, allocations: 4 kB / 3.04 GB, free: 13.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.741e-05/5.165, allocations: 16 kB / 3.041 GB, free: 13.79 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.00228/5.167, allocations: 1.394 MB / 3.042 GB, free: 12.33 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/5.167, allocations: 8.031 kB / 3.042 GB, free: 12.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/5.183, allocations: 2.187 MB / 3.044 GB, free: 10.13 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/5.185, allocations: 1.309 MB / 3.045 GB, free: 8.777 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/5.185, allocations: 12.23 kB / 3.045 GB, free: 8.766 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/5.186, allocations: 24 kB / 3.045 GB, free: 8.742 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/5.186, allocations: 0.5095 MB / 3.046 GB, free: 8.219 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/5.186, allocations: 0 / 3.046 GB, free: 8.219 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/5.186, allocations: 8 kB / 3.046 GB, free: 8.211 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/5.186, allocations: 7.953 kB / 3.046 GB, free: 8.203 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/5.187, allocations: 0.5895 MB / 3.046 GB, free: 7.613 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00918/5.196, allocations: 3.358 MB / 3.05 GB, free: 4.191 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/5.198, allocations: 0.7392 MB / 3.05 GB, free: 3.434 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/5.198, allocations: 329.6 kB / 3.051 GB, free: 3.105 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.948e-05/5.198, allocations: 7.938 kB / 3.051 GB, free: 3.098 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/5.199, allocations: 494.9 kB / 3.051 GB, free: 2.586 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 2.505e-06/5.199, allocations: 4 kB / 3.051 GB, free: 2.582 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.01723/5.216, allocations: 2.076 MB / 3.053 GB, free: 500 kB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/5.216, allocations: 132.5 kB / 3.053 GB, free: 336 kB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.804/6.02, allocations: 2.172 MB / 3.055 GB, free: 384.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003072/6.02, allocations: 34.52 kB / 3.056 GB, free: 384.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/6.021, allocations: 0.551 MB / 3.056 GB, free: 384.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/6.021, allocations: 57.42 kB / 3.056 GB, free: 384.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/6.021, allocations: 7.406 kB / 3.056 GB, free: 384.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/6.021, allocations: 327.5 kB / 3.056 GB, free: 384.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/6.022, allocations: 467.9 kB / 3.057 GB, free: 384.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/6.023, allocations: 0.4946 MB / 3.057 GB, free: 384.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/6.024, allocations: 426.9 kB / 3.058 GB, free: 384.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/6.024, allocations: 0 / 3.058 GB, free: 384.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0194/6.043, allocations: 2.655 MB / 3.06 GB, free: 384.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/6.043, allocations: 223.6 kB / 3.061 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/6.043, allocations: 1.344 kB / 3.061 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/6.047, allocations: 0.8692 MB / 3.061 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/6.05, allocations: 432.5 kB / 3.062 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/6.055, allocations: 3.446 MB / 3.065 GB, free: 381.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/6.058, allocations: 481.6 kB / 3.066 GB, free: 381.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/6.059, allocations: 40.55 kB / 3.066 GB, free: 381.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/6.059, allocations: 4 kB / 3.066 GB, free: 381.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01799/6.077, allocations: 2.428 MB / 3.068 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/6.077, allocations: 1.188 kB / 3.068 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/6.08, allocations: 0.7557 MB / 3.069 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/6.082, allocations: 430.5 kB / 3.069 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/6.09, allocations: 6.952 MB / 3.076 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/6.094, allocations: 471.5 kB / 3.076 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/6.094, allocations: 39.75 kB / 3.076 GB, free: 375.6 MB / 1.151 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.0003213/6.094, allocations: 157.8 kB / 3.077 GB, free: 375.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/6.094, allocations: 140.5 kB / 3.077 GB, free: 375.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/6.112, allocations: 2.128 MB / 3.079 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/6.112, allocations: 3.5 kB / 3.079 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/6.112, allocations: 0.9375 kB / 3.079 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/6.112, allocations: 2.516 kB / 3.079 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/6.114, allocations: 1.099 MB / 3.08 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/6.114, allocations: 2.25 kB / 3.08 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/6.117, allocations: 398.1 kB / 3.08 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/6.117, allocations: 128.4 kB / 3.08 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/6.117, allocations: 24.22 kB / 3.08 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006045/6.118, allocations: 0.5991 MB / 3.081 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/6.118, allocations: 7.391 kB / 3.081 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/6.135, allocations: 2.065 MB / 3.083 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/6.137, allocations: 444.6 kB / 3.083 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/6.138, allocations: 12.73 kB / 3.084 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003216/6.141, allocations: 412.1 kB / 3.084 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/6.141, allocations: 23.34 kB / 3.084 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/6.141, allocations: 37.86 kB / 3.084 GB, free: 374.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003683/6.145, allocations: 1.674 MB / 3.086 GB, free: 373.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.61e-07/6.145, allocations: 1.281 kB / 3.086 GB, free: 373.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003462/6.148, allocations: 0.5912 MB / 3.086 GB, free: 373.9 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.00277/6.151, allocations: 0.9908 MB / 3.087 GB, free: 373.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009969/6.161, allocations: 2.741 MB / 3.09 GB, free: 373.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/6.161, allocations: 0 / 3.09 GB, free: 373.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/6.162, allocations: 445.5 kB / 3.09 GB, free: 373.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/6.165, allocations: 320.4 kB / 3.091 GB, free: 373.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/6.179, allocations: 3.274 MB / 3.094 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/6.18, allocations: 1.413 MB / 3.095 GB, free: 372 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003772/6.184, allocations: 0.9855 MB / 3.096 GB, free: 371.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/6.184, allocations: 61.83 kB / 3.096 GB, free: 371.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.904e-06/6.184, allocations: 0 / 3.096 GB, free: 371.9 MB / 1.151 GB Notification: Performance of Templates: time 0.07043/6.255, allocations: 43.1 MB / 3.138 GB, free: 363.3 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