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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_10_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.001701/0.001701, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.541/2.541, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5688, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002587/0.5714, allocations: 1.511 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.5717, allocations: 159.5 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.5717, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.5718, allocations: 7.922 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.5718, allocations: 7.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.967e-05/0.5719, allocations: 7.984 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.572, allocations: 55.78 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.5721, allocations: 11.98 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.5722, allocations: 23.92 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.5722, allocations: 15.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.5722, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.5723, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.5723, allocations: 7.984 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.5723, allocations: 19.88 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.5724, allocations: 46.12 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5725, allocations: 3.984 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.977e-06/0.5725, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5725, allocations: 7.938 kB / 1.019 GB, free: 0.6367 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.0006657/0.5731, allocations: 359.3 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.5732, allocations: 8.031 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.5733, allocations: 34.75 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.5733, allocations: 4.938 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.5735, allocations: 176.2 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.5735, allocations: 384 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5735, allocations: 4.375 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.5738, allocations: 70.22 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5738, allocations: 3.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5738, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5738, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.5742, allocations: 67.86 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.5746, allocations: 272.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.5749, allocations: 46.64 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5751, allocations: 48.81 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.5751, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5751, allocations: 30.56 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.876e-06/0.5751, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005815/0.5757, allocations: 133.4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5758, allocations: 59.41 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.5759, allocations: 105.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5759, allocations: 25.7 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.576, allocations: 88.14 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.576, allocations: 3.906 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.576, allocations: 21.66 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5762, allocations: 318.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5763, allocations: 31.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5765, allocations: 39.95 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.5768, allocations: 68.95 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5768, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003538/0.5771, allocations: 113.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5772, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5772, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5772, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5773, allocations: 11.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5774, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.5774, allocations: 11.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5775, allocations: 4 kB / 1.021 GB, free: 14.27 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 8.441e-05/0.5775, allocations: 113.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.5776, allocations: 8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.5776, allocations: 3.906 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5776, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5776, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5776, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.5778, allocations: 177.5 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5778, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5779, allocations: 19.97 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.578, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.578, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.578, allocations: 320 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.578, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.5784, allocations: 199.4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.5784, allocations: 85.03 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.5784, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5785, allocations: 11.98 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.5786, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5786, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.5787, allocations: 91.25 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5787, allocations: 7.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002339/0.5789, allocations: 15.91 kB / 1.022 GB, free: 13.45 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.0006649/0.5796, allocations: 0.7319 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.5799, allocations: 67.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5799, allocations: 3.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.5801, allocations: 31.97 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5804, allocations: 23.92 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.581, allocations: 168.3 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.5812, allocations: 0.6768 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.5813, allocations: 8.328 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.5813, allocations: 11.44 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.5813, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.5989, allocations: 1.741 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.513, allocations: 11.77 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[504]=3600.000000 File[1208]=2249.280000 " Variables in the reference:time,mWat.mWat_flow,Q_flow.y,shr.y Variables in the result:time,Q_flow.y,mWat.mWat_flow,shr.y,Q_flow.duration,Q_flow.height