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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.004489/0.004489, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001098/0.001098, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.776/2.776, allocations: 469.4 MB / 0.7422 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2905, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002578/0.2931, allocations: 1.515 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.2934, allocations: 155.5 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.2934, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.2935, allocations: 7.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.2935, allocations: 3.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.978e-05/0.2936, allocations: 19.92 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.498e-05/0.2937, allocations: 47.78 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2938, allocations: 12 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.2939, allocations: 15.92 kB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.294, allocations: 27.89 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.294, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.294, allocations: 8 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.294, allocations: 4 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.2941, allocations: 23.86 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.2942, allocations: 35.83 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2942, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2942, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2942, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 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.0005029/0.2947, allocations: 355.4 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2948, allocations: 12.03 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.2948, allocations: 38.73 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.2948, allocations: 8.891 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2949, allocations: 168.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.295, allocations: 384 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.295, allocations: 384 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.2952, allocations: 74.22 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2952, allocations: 3.938 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.2953, allocations: 4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2953, allocations: 3.984 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.2956, allocations: 63.88 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.2959, allocations: 272.8 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.2961, allocations: 58.53 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2963, allocations: 40.92 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.2963, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2963, allocations: 30.56 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2963, allocations: 7.875 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005353/0.2969, allocations: 129.6 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2969, allocations: 51.41 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.297, allocations: 109.8 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.297, allocations: 25.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.2971, allocations: 92.09 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2971, allocations: 15.94 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.2971, allocations: 9.719 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.2972, allocations: 318.8 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2974, allocations: 27.95 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2975, allocations: 27.97 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.2978, allocations: 92.59 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2978, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003203/0.2982, allocations: 97.86 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2982, allocations: 5.719 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2982, allocations: 4 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2982, allocations: 8.031 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2983, allocations: 11.98 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2984, allocations: 3.984 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.2984, allocations: 11.98 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2985, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 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 6.958e-05/0.2985, allocations: 118.3 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.2986, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.2986, allocations: 7.906 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2986, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2986, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2986, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2988, allocations: 177.5 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2988, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.2989, allocations: 15.98 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2989, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2989, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2989, allocations: 4 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2989, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.2993, allocations: 199.4 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2993, allocations: 81.11 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2993, allocations: 7.938 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2995, allocations: 11.98 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.2995, allocations: 11.98 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2995, allocations: 0 / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.2996, allocations: 91.53 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2996, allocations: 0 / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002234/0.2998, allocations: 8 kB / 1.224 GB, free: 9.5 MB / 0.9825 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.0006527/0.3005, allocations: 0.7319 MB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.3008, allocations: 67.92 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3008, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.301, allocations: 39.89 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3013, allocations: 22.22 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.3018, allocations: 164.1 kB / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.302, allocations: 0.6807 MB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.3021, allocations: 7.984 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.3021, allocations: 11.44 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3021, allocations: 0 / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.3184, allocations: 1.782 MB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.893, allocations: 12 kB / 1.228 GB, free: 6.043 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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) "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