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.005962/0.005962, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001342/0.001342, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.409/2.409, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.89 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6718/0.6732, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002538/0.6758, allocations: 1.51 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.6761, allocations: 151.5 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.6761, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.6761, allocations: 3.938 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.6762, allocations: 15.86 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.108e-05/0.6763, allocations: 11.97 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.908e-05/0.6764, allocations: 47.86 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.6765, allocations: 11.98 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.6765, allocations: 19.94 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.6766, allocations: 23.84 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.6766, allocations: 4 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.6766, allocations: 4 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.6767, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.6767, allocations: 23.86 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.904e-05/0.6768, allocations: 43.67 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6768, allocations: 4 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6768, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.6768, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 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.0004853/0.6773, allocations: 365.2 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6773, allocations: 12.92 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.6774, allocations: 34.75 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.6774, allocations: 4.891 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.6775, allocations: 168.3 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.6775, allocations: 4.375 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.6776, allocations: 4.375 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.6778, allocations: 74.14 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.6778, allocations: 3.938 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.6778, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6778, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.6781, allocations: 67.92 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.6785, allocations: 272.9 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.6787, allocations: 54.42 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.6788, allocations: 48.91 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.6788, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.6789, allocations: 30.56 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6789, allocations: 0 / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004969/0.6794, allocations: 125.6 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.6794, allocations: 55.41 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.6795, allocations: 109.8 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.6795, allocations: 25.7 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.6795, allocations: 96.08 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.6796, allocations: 7.891 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.6796, allocations: 17.72 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.6797, allocations: 310.8 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6799, allocations: 35.95 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.68, allocations: 31.97 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.6803, allocations: 69 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6803, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003116/0.6806, allocations: 101.6 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6806, allocations: 8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6806, allocations: 3.938 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6806, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6808, allocations: 19.97 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6808, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.6809, allocations: 15.88 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.6809, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 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.648e-05/0.681, allocations: 113.8 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.681, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.681, allocations: 7.891 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.681, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.681, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.681, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.6812, allocations: 173.6 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6812, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.6813, allocations: 15.98 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6813, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.6813, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6813, allocations: 3.984 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6813, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.6817, allocations: 207.3 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.6818, allocations: 77.11 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.6818, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6819, allocations: 11.98 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.6819, allocations: 11.92 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.6819, allocations: 4 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.682, allocations: 87.27 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.134e-06/0.682, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002202/0.6822, allocations: 15.94 kB / 1.171 GB, free: 14.71 MB / 0.9044 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.0005882/0.6828, allocations: 0.7318 MB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.6831, allocations: 67.92 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6831, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.6833, allocations: 35.95 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.6836, allocations: 14.89 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.6841, allocations: 172.1 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.6843, allocations: 0.6807 MB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.6843, allocations: 4.328 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.6844, allocations: 15.44 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.6844, allocations: 0 / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.7001, allocations: 1.779 MB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/8.042, allocations: 8.734 kB / 1.174 GB, free: 11.27 MB / 0.9044 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