Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001937/0.001937, 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.002333/0.002333, allocations: 194.6 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.705/1.705, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.988/2.988, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7466, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002951/0.7496, allocations: 1.562 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.7499, allocations: 151.5 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.7499, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.75, allocations: 7.922 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.75, allocations: 11.92 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.428e-05/0.7501, allocations: 11.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.7502, allocations: 47.8 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.7503, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.7504, allocations: 23.92 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.7504, allocations: 23.91 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.7505, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.7505, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.7505, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.7505, allocations: 27.84 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.395e-05/0.7506, allocations: 37.86 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7506, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7506, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7507, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 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.0005821/0.7512, allocations: 371.3 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7513, allocations: 8.031 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.7513, allocations: 4.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.7515, allocations: 172.2 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.7515, allocations: 4.375 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.7515, allocations: 384 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.7518, allocations: 74.16 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7518, allocations: 4.188 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.7518, allocations: 11.92 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.7518, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.7521, allocations: 59.94 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.7525, allocations: 261 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.7527, allocations: 66.41 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.7529, allocations: 44.91 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.7529, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.7529, allocations: 34.56 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.753, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005183/0.7535, allocations: 133.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.7535, allocations: 55.34 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.7536, allocations: 113.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.7537, allocations: 29.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.7537, allocations: 88.08 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.7538, allocations: 15.88 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.7538, allocations: 13.72 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.754, allocations: 318.8 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.7541, allocations: 31.95 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.7543, allocations: 31.97 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.7545, allocations: 68.78 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7545, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003197/0.7549, allocations: 101.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7549, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7549, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7549, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.755, allocations: 15.92 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.755, allocations: 3.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.7551, allocations: 15.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.7551, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 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.0001081/0.7553, allocations: 117.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.7553, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.7553, allocations: 11.91 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7553, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7553, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.7553, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.7555, allocations: 177.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7556, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.461e-05/0.7557, allocations: 15.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7557, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.7557, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.7557, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7557, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.7561, allocations: 199.3 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.7561, allocations: 89.05 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.7561, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7563, allocations: 7.984 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.7563, allocations: 8.359 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.7563, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.7564, allocations: 87.28 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7564, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002116/0.7566, allocations: 11.91 kB / 1.021 GB, free: 13.64 MB / 0.7794 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.0001474/0.7567, allocations: 107.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.7571, allocations: 79.78 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7571, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.7572, allocations: 35.91 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.7576, allocations: 15.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.7579, allocations: 134.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.7583, allocations: 0.6806 MB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.7583, allocations: 11.98 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.7583, allocations: 7.438 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7584, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.00324/0.7616, allocations: 0.6873 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches