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.0009409/0.0009411, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006115/0.006115, allocations: 170 kB / 16.27 MB, free: 6.652 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 8.812 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4094, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003665/0.4132, allocations: 2.645 MB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.6012, allocations: 150.8 MB / 1.209 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.6017, allocations: 7.938 kB / 1.209 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.6035, allocations: 0.5406 MB / 1.209 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.6056, allocations: 0.6029 MB / 1.21 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.6074, allocations: 0.5762 MB / 1.21 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.6089, allocations: 1.267 MB / 1.211 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.6092, allocations: 174.5 kB / 1.212 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.6096, allocations: 434.1 kB / 1.212 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007982/0.6104, allocations: 0.5836 MB / 1.213 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6106, allocations: 63.94 kB / 1.213 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.6131, allocations: 1.247 MB / 1.214 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.6135, allocations: 346.8 kB / 1.214 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.6142, allocations: 0.666 MB / 1.215 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.6177, allocations: 2.733 MB / 1.218 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6177, allocations: 0 / 1.218 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6177, allocations: 0 / 1.218 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.6177, allocations: 0 / 1.218 GB, free: 2.184 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.003586/0.6213, allocations: 1.887 MB / 1.219 GB, free: 240 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6214, allocations: 8.031 kB / 1.219 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/0.6393, allocations: 2.309 MB / 1.222 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.6426, allocations: 1.464 MB / 1.223 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6426, allocations: 12.23 kB / 1.223 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6427, allocations: 24 kB / 1.223 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005621/0.6484, allocations: 1.258 MB / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6484, allocations: 0 / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.675e-05/0.6485, allocations: 4 kB / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.6485, allocations: 4 kB / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.6589, allocations: 2.101 MB / 1.226 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.6708, allocations: 3.361 MB / 1.23 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/0.6851, allocations: 2.776 MB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005295/0.6905, allocations: 1.063 MB / 1.233 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/0.6913, allocations: 441.5 kB / 1.234 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005574/0.6969, allocations: 1.232 MB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/0.6969, allocations: 0 / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.03682/0.7337, allocations: 4.812 MB / 1.24 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.734, allocations: 140.5 kB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.7389, allocations: 2.484 MB / 1.242 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.7392, allocations: 29.7 kB / 1.242 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006899/0.7399, allocations: 0.5939 MB / 1.243 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.7401, allocations: 59.19 kB / 1.243 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.7402, allocations: 57.62 kB / 1.243 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7404, allocations: 322 kB / 1.243 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00569/0.7461, allocations: 1.21 MB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/0.7518, allocations: 1.258 MB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.7626, allocations: 2.115 MB / 1.248 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.7627, allocations: 0 / 1.248 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.7337/1.496, allocations: 4.183 MB / 1.252 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.496, allocations: 136.9 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.496, allocations: 4.938 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/1.501, allocations: 0.9765 MB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/1.504, allocations: 429.7 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009004/1.513, allocations: 8.083 MB / 1.261 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/1.516, allocations: 476.9 kB / 1.262 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.517, allocations: 38.39 kB / 1.262 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/1.517, allocations: 5 kB / 1.262 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02619/1.543, allocations: 3.863 MB / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.543, allocations: 4.547 kB / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/1.546, allocations: 0.7863 MB / 1.266 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/1.548, allocations: 433.9 kB / 1.267 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/1.554, allocations: 6.851 MB / 1.273 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.558, allocations: 471.6 kB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.558, allocations: 33.61 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.001015/1.559, allocations: 0.6794 MB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/1.559, allocations: 146 kB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/1.586, allocations: 3.531 MB / 1.278 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.586, allocations: 5.688 kB / 1.278 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/1.586, allocations: 1.156 kB / 1.278 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.586, allocations: 3.938 kB / 1.278 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.587, allocations: 1.127 MB / 1.279 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.587, allocations: 0 / 1.279 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.59, allocations: 396 kB / 1.28 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006295/1.59, allocations: 163.3 kB / 1.28 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/1.591, allocations: 31.83 kB / 1.28 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008737/1.591, allocations: 0.6472 MB / 1.281 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.591, allocations: 1 kB / 1.281 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02596/1.617, allocations: 3.492 MB / 1.284 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/1.618, allocations: 440.5 kB / 1.284 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.619, allocations: 11.12 kB / 1.284 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003032/1.622, allocations: 418.3 kB / 1.285 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/1.622, allocations: 19.75 kB / 1.285 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/1.622, allocations: 39.02 kB / 1.285 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002563/1.624, allocations: 1.773 MB / 1.287 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.624, allocations: 0 / 1.287 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001853/1.626, allocations: 0.5518 MB / 1.287 GB, free: 175.2 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.0005235/1.627, allocations: 238 kB / 1.287 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01838/1.645, allocations: 5.144 MB / 1.292 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.645, allocations: 0 / 1.292 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005334/1.651, allocations: 1.189 MB / 1.293 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.653, allocations: 355.7 kB / 1.294 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.672, allocations: 4.878 MB / 1.299 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007452/1.673, allocations: 1.408 MB / 1.3 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001802/1.675, allocations: 437.3 kB / 1.3 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/1.675, allocations: 88.11 kB / 1.3 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.675, allocations: 0 / 1.3 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04057/1.716, allocations: 32.8 MB / 1.332 GB, free: 136.9 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