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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007529/0.007529, allocations: 103.2 kB / 15.73 MB, free: 6.012 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.001461/0.001461, allocations: 192.7 kB / 16.67 MB, free: 5.938 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7348 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 1.054 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7725, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002678/0.7752, allocations: 1.498 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.7755, allocations: 159.5 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.7755, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.7756, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.7757, allocations: 11.88 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.048e-05/0.7757, allocations: 7.984 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.7758, allocations: 59.78 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.776, allocations: 7.984 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.776, allocations: 15.98 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.7761, allocations: 23.91 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7761, allocations: 11.94 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.7761, allocations: 4 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.7762, allocations: 4 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.7762, allocations: 19.92 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.188e-05/0.7763, allocations: 38.08 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7763, allocations: 4 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7763, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7763, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 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.0005094/0.7768, allocations: 367.3 kB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7769, allocations: 8.031 kB / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.7769, allocations: 38.69 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.777, allocations: 8.844 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.7771, allocations: 176.2 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.7771, allocations: 4.359 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7771, allocations: 384 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.7773, allocations: 74.2 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7774, allocations: 7.938 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.7774, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7774, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.7777, allocations: 59.94 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.778, allocations: 272.8 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.7782, allocations: 54.53 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.7783, allocations: 40.92 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.7784, allocations: 0 / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.7784, allocations: 38.55 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7784, allocations: 0 / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004884/0.7789, allocations: 129.5 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.7789, allocations: 51.41 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.779, allocations: 109.8 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.779, allocations: 25.7 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.7791, allocations: 96.03 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7791, allocations: 7.906 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.7791, allocations: 13.72 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.7792, allocations: 314.8 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.7794, allocations: 31.95 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.7795, allocations: 35.91 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.7797, allocations: 76.66 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7798, allocations: 0 / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002822/0.78, allocations: 97.62 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7801, allocations: 12 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7801, allocations: 0 / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.7801, allocations: 0 / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7802, allocations: 15.97 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.7802, allocations: 0 / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.7803, allocations: 15.89 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.7803, allocations: 0 / 1.211 GB, free: 9.281 MB / 0.9356 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 7.258e-05/0.7804, allocations: 113.8 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.7804, allocations: 8 kB / 1.211 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.7805, allocations: 7.906 kB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7805, allocations: 0 / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7805, allocations: 3.938 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7805, allocations: 4.312 kB / 1.211 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.7806, allocations: 173.5 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7807, allocations: 0 / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.7808, allocations: 19.92 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7808, allocations: 3.984 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.7808, allocations: 4 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7808, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7808, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.7811, allocations: 199.3 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.7812, allocations: 81.11 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.7812, allocations: 4 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.7813, allocations: 11.98 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.7813, allocations: 7.984 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.7813, allocations: 0 / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.7814, allocations: 83.28 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7814, allocations: 0 / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002134/0.7816, allocations: 12 kB / 1.212 GB, free: 8.453 MB / 0.9356 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.000577/0.7822, allocations: 0.7357 MB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.7825, allocations: 67.92 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7825, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.7827, allocations: 47.83 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.783, allocations: 12.55 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.7835, allocations: 164.2 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.7837, allocations: 0.6885 MB / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.7838, allocations: 0 / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.7839, allocations: 15.44 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7839, allocations: 0 / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.801, allocations: 1.778 MB / 1.215 GB, free: 5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.6, allocations: 19.34 kB / 1.215 GB, free: 4.988 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mWat.mWat_flow,Q_flow.y,shr.y Variables in the result:Q_flow.duration,Q_flow.height,Q_flow.offset,Q_flow.startTime,Q_flow.y,mWat.Q_flow,mWat.SHR,mWat.mWat_flow,shr.duration,shr.height,shr.offset,shr.startTime,shr.y,time