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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009458/0.0009458, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009383/0.009383, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 462.6 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 11.03 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4162, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003656/0.4199, allocations: 2.653 MB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1875/0.6074, allocations: 150.8 MB / 1.209 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.608, allocations: 4 kB / 1.209 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.6098, allocations: 0.5367 MB / 1.209 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.612, allocations: 0.5989 MB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.6142, allocations: 0.5758 MB / 1.21 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.616, allocations: 1.264 MB / 1.211 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.6163, allocations: 182.5 kB / 1.212 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.6169, allocations: 430.2 kB / 1.212 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.6178, allocations: 0.5836 MB / 1.213 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.6179, allocations: 60 kB / 1.213 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.6205, allocations: 1.244 MB / 1.214 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.6209, allocations: 354.7 kB / 1.214 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007702/0.6217, allocations: 0.666 MB / 1.215 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.625, allocations: 2.733 MB / 1.218 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.625, allocations: 4 kB / 1.218 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.729e-06/0.625, allocations: 3.984 kB / 1.218 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.6251, allocations: 0 / 1.218 GB, free: 2.125 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.003732/0.6288, allocations: 1.887 MB / 1.219 GB, free: 180 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6289, allocations: 8.031 kB / 1.219 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.6466, allocations: 2.309 MB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.6496, allocations: 1.453 MB / 1.223 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.6496, allocations: 20.17 kB / 1.223 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6497, allocations: 24 kB / 1.223 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.6554, allocations: 1.258 MB / 1.224 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6554, allocations: 4 kB / 1.224 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.6555, allocations: 4 kB / 1.224 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6555, allocations: 0 / 1.224 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.6659, allocations: 2.097 MB / 1.226 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.6774, allocations: 3.361 MB / 1.23 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.6916, allocations: 2.772 MB / 1.232 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005184/0.6968, allocations: 1.063 MB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/0.6975, allocations: 449.4 kB / 1.234 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005326/0.7028, allocations: 1.224 MB / 1.235 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 3.797e-06/0.7028, allocations: 7.922 kB / 1.235 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.03483/0.7376, allocations: 4.811 MB / 1.24 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.7378, allocations: 136.5 kB / 1.24 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004594/0.7424, allocations: 2.484 MB / 1.242 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.7427, allocations: 33.7 kB / 1.242 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.7434, allocations: 0.5899 MB / 1.243 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.7435, allocations: 59.19 kB / 1.243 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7437, allocations: 45.7 kB / 1.243 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7438, allocations: 333.9 kB / 1.243 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005671/0.7495, allocations: 1.214 MB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005563/0.755, allocations: 1.25 MB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.7652, allocations: 2.119 MB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.7652, allocations: 0 / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.7402/1.505, allocations: 4.184 MB / 1.252 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.506, allocations: 135.2 kB / 1.252 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.506, allocations: 4.906 kB / 1.252 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00426/1.51, allocations: 0.9726 MB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/1.513, allocations: 434.9 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/1.521, allocations: 8.072 MB / 1.261 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/1.525, allocations: 481.7 kB / 1.262 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.525, allocations: 39.05 kB / 1.262 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/1.525, allocations: 11.19 kB / 1.262 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02643/1.552, allocations: 3.865 MB / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.552, allocations: 0 / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/1.555, allocations: 0.7896 MB / 1.266 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/1.558, allocations: 435.5 kB / 1.267 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/1.564, allocations: 6.851 MB / 1.273 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/1.568, allocations: 467.1 kB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.568, allocations: 38.42 kB / 1.274 GB, free: 178.6 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.001078/1.569, allocations: 0.6835 MB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/1.57, allocations: 145.9 kB / 1.275 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02792/1.597, allocations: 3.529 MB / 1.278 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.598, allocations: 2.125 kB / 1.278 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.598, allocations: 4.969 kB / 1.278 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.598, allocations: 2.297 kB / 1.278 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.599, allocations: 1.132 MB / 1.279 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.599, allocations: 0 / 1.279 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.602, allocations: 402.2 kB / 1.28 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000698/1.603, allocations: 167.4 kB / 1.28 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/1.603, allocations: 22.09 kB / 1.28 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000921/1.604, allocations: 0.6468 MB / 1.281 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.604, allocations: 1.469 kB / 1.281 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02601/1.63, allocations: 3.493 MB / 1.284 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.631, allocations: 439.9 kB / 1.284 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/1.631, allocations: 8.562 kB / 1.284 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.634, allocations: 413.3 kB / 1.285 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.634, allocations: 24.53 kB / 1.285 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/1.635, allocations: 32.55 kB / 1.285 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002722/1.637, allocations: 1.771 MB / 1.287 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.637, allocations: 0 / 1.287 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001994/1.639, allocations: 0.5554 MB / 1.287 GB, free: 175.1 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.000547/1.64, allocations: 233 kB / 1.287 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01919/1.659, allocations: 5.145 MB / 1.292 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.659, allocations: 2.5 kB / 1.292 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005572/1.665, allocations: 1.193 MB / 1.293 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/1.667, allocations: 361.6 kB / 1.294 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.686, allocations: 4.867 MB / 1.299 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.687, allocations: 1.423 MB / 1.3 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001708/1.689, allocations: 431.8 kB / 1.3 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/1.689, allocations: 84.44 kB / 1.3 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/1.689, allocations: 4 kB / 1.3 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03969/1.729, allocations: 32.79 MB / 1.332 GB, free: 136.8 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/jenkins/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