Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.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.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.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.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.00102, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 187.1 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.013/3.013, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 11.72 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3449, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003846/0.3488, allocations: 2.649 MB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.525, allocations: 150.8 MB / 1.209 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.5256, allocations: 8 kB / 1.209 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.5273, allocations: 0.5328 MB / 1.21 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.5293, allocations: 0.6106 MB / 1.21 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.5313, allocations: 0.5709 MB / 1.211 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5329, allocations: 1.27 MB / 1.212 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.5333, allocations: 190.5 kB / 1.212 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.5341, allocations: 426.1 kB / 1.213 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.5355, allocations: 0.5797 MB / 1.213 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.5359, allocations: 56 kB / 1.213 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.5388, allocations: 1.259 MB / 1.215 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005318/0.5394, allocations: 346.8 kB / 1.215 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5406, allocations: 0.662 MB / 1.216 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.5433, allocations: 2.248 MB / 1.218 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5433, allocations: 0 / 1.218 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5433, allocations: 0 / 1.218 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.97e-05/0.5434, allocations: 0 / 1.218 GB, free: 2.078 MB / 0.9669 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.004632/0.548, allocations: 1.879 MB / 1.22 GB, free: 140 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5481, allocations: 15.97 kB / 1.22 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/0.5662, allocations: 2.305 MB / 1.222 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.5697, allocations: 1.468 MB / 1.223 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.5697, allocations: 12.23 kB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.5699, allocations: 24 kB / 1.223 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/0.5756, allocations: 1.253 MB / 1.225 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5756, allocations: 4 kB / 1.225 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.5757, allocations: 4 kB / 1.225 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5757, allocations: 4 kB / 1.225 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.5861, allocations: 2.099 MB / 1.227 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.5978, allocations: 3.357 MB / 1.23 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.6117, allocations: 2.772 MB / 1.233 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005212/0.6169, allocations: 1.067 MB / 1.234 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.6176, allocations: 445.5 kB / 1.234 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005605/0.6232, allocations: 1.222 MB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/0.6232, allocations: 0 / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.03663/0.6599, allocations: 4.826 MB / 1.24 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.66, allocations: 136.5 kB / 1.24 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.6647, allocations: 2.473 MB / 1.242 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.665, allocations: 41.67 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006899/0.6657, allocations: 0.5977 MB / 1.243 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6659, allocations: 59.19 kB / 1.243 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.6661, allocations: 49.69 kB / 1.243 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6662, allocations: 322 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005847/0.6721, allocations: 1.214 MB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005813/0.6779, allocations: 1.262 MB / 1.246 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.6885, allocations: 2.119 MB / 1.248 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6886, allocations: 0 / 1.248 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.7538/1.442, allocations: 4.174 MB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.443, allocations: 141.8 kB / 1.252 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.443, allocations: 3.938 kB / 1.252 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004577/1.447, allocations: 0.975 MB / 1.253 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/1.45, allocations: 429.3 kB / 1.254 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009595/1.46, allocations: 8.073 MB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/1.464, allocations: 479.1 kB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.464, allocations: 38.45 kB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.464, allocations: 4.969 kB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02687/1.491, allocations: 3.868 MB / 1.266 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.491, allocations: 0 / 1.266 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/1.494, allocations: 0.7979 MB / 1.267 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/1.497, allocations: 427.9 kB / 1.267 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006742/1.504, allocations: 6.842 MB / 1.274 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.508, allocations: 469.9 kB / 1.274 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/1.508, allocations: 37.06 kB / 1.274 GB, free: 177.8 MB / 0.9981 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,adp.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001373/1.51, allocations: 0.6852 MB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/1.51, allocations: 145.6 kB / 1.275 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03989/1.55, allocations: 3.53 MB / 1.278 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.55, allocations: 5.312 kB / 1.278 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.55, allocations: 4.938 kB / 1.278 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/1.55, allocations: 1.438 kB / 1.278 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.553, allocations: 1.129 MB / 1.279 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.553, allocations: 1.438 kB / 1.279 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/1.557, allocations: 397.4 kB / 1.28 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.558, allocations: 169 kB / 1.28 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.558, allocations: 21.58 kB / 1.28 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/1.559, allocations: 0.6545 MB / 1.281 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.559, allocations: 1.031 kB / 1.281 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/1.585, allocations: 3.485 MB / 1.284 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.586, allocations: 439.4 kB / 1.284 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/1.587, allocations: 12.38 kB / 1.285 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.59, allocations: 414.2 kB / 1.285 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.59, allocations: 23.66 kB / 1.285 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/1.59, allocations: 34.36 kB / 1.285 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003086/1.593, allocations: 1.766 MB / 1.287 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.593, allocations: 0 / 1.287 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002232/1.595, allocations: 0.5571 MB / 1.287 GB, free: 174.3 MB / 0.9981 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006273/1.596, allocations: 223.9 kB / 1.287 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01936/1.615, allocations: 5.152 MB / 1.292 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.615, allocations: 0 / 1.292 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005431/1.621, allocations: 1.188 MB / 1.294 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.623, allocations: 365.8 kB / 1.294 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/1.643, allocations: 4.94 MB / 1.299 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008763/1.644, allocations: 1.418 MB / 1.3 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/1.645, allocations: 100 kB / 1.3 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.385e-06/1.645, allocations: 0 / 1.3 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04739/1.692, allocations: 47.74 MB / 1.347 GB, free: 121.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches