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.004799/0.004799, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001279/0.001279, allocations: 199.6 kB / 16.68 MB, free: 5.969 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.63/2.63, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 75.88 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002842/0.2842, allocations: 1.5 MB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.2846, allocations: 155.5 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.2846, allocations: 0 / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.2847, allocations: 3.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.2847, allocations: 7.922 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.088e-05/0.2848, allocations: 11.98 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.2849, allocations: 43.84 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.285, allocations: 16 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.462e-05/0.2851, allocations: 15.92 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.2851, allocations: 27.91 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2852, allocations: 4 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2852, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.2852, allocations: 7.938 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2852, allocations: 19.91 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.2853, allocations: 44.05 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2853, allocations: 0 / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2853, allocations: 7.938 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.2854, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 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.0005448/0.2859, allocations: 367.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.286, allocations: 8.031 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.286, allocations: 30.75 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.286, allocations: 8.891 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2862, allocations: 168.3 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2862, allocations: 8.359 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.2862, allocations: 384 / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2865, allocations: 78.2 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2865, allocations: 3.938 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2865, allocations: 0 / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2865, allocations: 3.938 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.2868, allocations: 59.94 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2872, allocations: 268.9 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2874, allocations: 62.47 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.2876, allocations: 36.92 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2876, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2876, allocations: 46.48 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2876, allocations: 0 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005337/0.2882, allocations: 121.6 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2882, allocations: 51.41 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.2883, allocations: 113.8 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.2884, allocations: 25.7 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.2884, allocations: 92.08 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2884, allocations: 15.88 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.2885, allocations: 13.72 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2886, allocations: 314.8 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.2888, allocations: 35.95 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2889, allocations: 31.91 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.2892, allocations: 72.72 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2892, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003188/0.2895, allocations: 97.62 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2896, allocations: 4 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2896, allocations: 0 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2896, allocations: 4 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2897, allocations: 23.91 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2897, allocations: 4 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.2898, allocations: 15.94 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2898, allocations: 4 kB / 1.17 GB, free: 3.102 MB / 0.92 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.662e-05/0.2899, allocations: 117.7 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.29, allocations: 0 / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.29, allocations: 11.91 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.29, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.29, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.29, allocations: 4.312 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.2902, allocations: 169.6 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2902, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.585e-05/0.2903, allocations: 19.98 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2903, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2903, allocations: 3.984 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2904, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2904, allocations: 320 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.2907, allocations: 203.4 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.2908, allocations: 81.11 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2908, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2909, allocations: 11.92 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.291, allocations: 11.92 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-06/0.291, allocations: 4 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.2911, allocations: 87.27 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2911, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00022/0.2913, allocations: 12 kB / 1.171 GB, free: 2.277 MB / 0.92 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.0007224/0.292, allocations: 0.7319 MB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2924, allocations: 71.86 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2924, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.2925, allocations: 39.95 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2929, allocations: 4 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.2933, allocations: 172.1 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2936, allocations: 0.6768 MB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.2937, allocations: 7.984 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.2937, allocations: 15.44 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.2937, allocations: 3.938 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3162, allocations: 1.787 MB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.971, allocations: 4.062 kB / 1.174 GB, free: 14.82 MB / 0.9356 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