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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001651/0.001651, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002098/0.002098, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.42 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4533, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.004747/0.4581, allocations: 1.571 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004088/0.4585, allocations: 147.5 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.4586, allocations: 3.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.455e-05/0.4587, allocations: 7.922 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.4588, allocations: 3.938 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.459, allocations: 11.98 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4591, allocations: 43.86 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.4593, allocations: 15.98 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4594, allocations: 19.92 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.4594, allocations: 27.89 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4595, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.4595, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.4595, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.4596, allocations: 23.86 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.4597, allocations: 36.17 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4597, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4598, allocations: 4 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4598, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 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.000742/0.4605, allocations: 363.4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4606, allocations: 8.031 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.4606, allocations: 4.844 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.4608, allocations: 168.3 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4608, allocations: 4.312 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.4609, allocations: 12.38 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.4612, allocations: 62.22 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4612, allocations: 192 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4613, allocations: 7.938 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4613, allocations: 7.984 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.4617, allocations: 55.94 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.4623, allocations: 272.9 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.4626, allocations: 66.41 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.4628, allocations: 36.92 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4628, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4629, allocations: 38.56 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 3.596e-06/0.4629, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000796/0.4637, allocations: 137.5 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4638, allocations: 55.34 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4639, allocations: 106.1 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4639, allocations: 25.7 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.464, allocations: 92.05 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.464, allocations: 11.83 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.4641, allocations: 17.72 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4643, allocations: 310.8 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.4645, allocations: 39.95 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.4647, allocations: 31.91 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.4651, allocations: 68.78 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4651, allocations: 7.938 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004918/0.4656, allocations: 97.56 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4657, allocations: 4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4657, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4657, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4659, allocations: 15.98 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4659, allocations: 8.047 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.4661, allocations: 19.98 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4661, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 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 9.869e-05/0.4662, allocations: 109.8 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.4662, allocations: 7.906 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.4663, allocations: 8.234 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4663, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4663, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4663, allocations: 7.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.4666, allocations: 173.6 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4666, allocations: 4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.4667, allocations: 11.98 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4667, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4667, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4668, allocations: 4 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4668, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.4673, allocations: 203.3 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.4673, allocations: 81.02 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4674, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.4675, allocations: 15.92 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.4676, allocations: 7.984 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4676, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.319e-05/0.4677, allocations: 87.28 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4677, allocations: 0 / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004237/0.4681, allocations: 8 kB / 1.072 GB, free: 5.684 MB / 0.8262 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.0001588/0.4683, allocations: 103.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.4688, allocations: 71.86 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4688, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.4691, allocations: 35.97 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.4696, allocations: 17.89 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.4701, allocations: 158.4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.4705, allocations: 0.6807 MB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.4706, allocations: 3.984 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.4707, allocations: 11.44 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.4707, allocations: 0 / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.004386/0.4751, allocations: 0.6985 MB / 1.074 GB, free: 3.859 MB / 0.8262 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