Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.002158/0.002158, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 62.56 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4437, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003355/0.4471, allocations: 1.572 MB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.4475, allocations: 143.6 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.4475, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.4476, allocations: 7.922 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.4477, allocations: 3.938 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.4478, allocations: 19.98 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.4479, allocations: 47.78 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.4481, allocations: 15.97 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.4482, allocations: 11.94 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.4483, allocations: 23.91 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.4483, allocations: 0 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.4483, allocations: 4 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.4483, allocations: 4 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.4484, allocations: 23.86 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.4485, allocations: 36.17 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4485, allocations: 4 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4486, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.4486, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007391/0.4493, allocations: 364.9 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.4494, allocations: 8.031 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.4494, allocations: 8.938 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.4496, allocations: 176.2 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4496, allocations: 8.312 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4497, allocations: 4.312 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.45, allocations: 70.2 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.45, allocations: 192 / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.45, allocations: 7.938 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.45, allocations: 0 / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.4503, allocations: 63.94 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.4508, allocations: 268.9 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.451, allocations: 66.41 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.4512, allocations: 32.92 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4512, allocations: 8 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4513, allocations: 34.55 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4513, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005614/0.4518, allocations: 125.6 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4519, allocations: 55.34 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.452, allocations: 109.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.452, allocations: 25.7 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.4521, allocations: 84.14 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4521, allocations: 23.73 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.4522, allocations: 21.66 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4524, allocations: 314.8 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4525, allocations: 31.95 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4526, allocations: 27.97 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.4529, allocations: 72.78 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.4529, allocations: 3.938 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002973/0.4532, allocations: 101.6 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4532, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4533, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4533, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4534, allocations: 23.97 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4534, allocations: 320 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.4535, allocations: 11.98 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4535, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.4536, allocations: 113.8 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.4537, allocations: 3.906 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.4537, allocations: 8.234 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4537, allocations: 8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4537, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4538, allocations: 3.984 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.454, allocations: 173.6 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.454, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.4541, allocations: 11.98 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4541, allocations: 7.938 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4541, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4541, allocations: 3.984 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4541, allocations: 0 / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.4545, allocations: 203.3 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.4546, allocations: 81.02 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4546, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4547, allocations: 7.984 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.4548, allocations: 11.98 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4548, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.4548, allocations: 83.28 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4548, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002141/0.4551, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.4553, allocations: 113.6 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.4556, allocations: 71.92 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4556, allocations: 3.938 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4558, allocations: 31.97 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.4562, allocations: 11.92 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.4566, allocations: 144.6 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.457, allocations: 0.6848 MB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.457, allocations: 0 / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.4571, allocations: 11.44 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of SimCode: time 6.12e-07/0.4571, allocations: 4 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of Templates: time 0.003444/0.4605, allocations: 0.6631 MB / 1.058 GB, free: 1.965 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches