Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_11_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.005861/0.005861, allocations: 99.58 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.001601/0.001601, allocations: 194.7 kB / 16.68 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 71.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8449, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002724/0.8477, allocations: 1.488 MB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.848, allocations: 167.4 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.8481, allocations: 0 / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.8481, allocations: 3.938 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.8482, allocations: 11.92 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.7e-05/0.8483, allocations: 7.984 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.8484, allocations: 55.78 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.8485, allocations: 8 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.8486, allocations: 27.86 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.8486, allocations: 23.91 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.8487, allocations: 4 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.8487, allocations: 4 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.8487, allocations: 4 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.8487, allocations: 19.86 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.8488, allocations: 47.67 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8489, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8489, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8489, allocations: 0 / 1.222 GB, free: 140 kB / 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.0005879/0.8495, allocations: 359.2 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8495, allocations: 12.02 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.8496, allocations: 34.75 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.8496, allocations: 4.891 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.8497, allocations: 172.3 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.8498, allocations: 384 / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.8498, allocations: 4.375 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.85, allocations: 78.14 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8501, allocations: 3.938 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.8501, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.8501, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.8504, allocations: 63.92 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.8508, allocations: 276.9 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.851, allocations: 54.47 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.8512, allocations: 36.92 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.8512, allocations: 0 / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.8513, allocations: 46.55 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.8513, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.8518, allocations: 121.6 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.8519, allocations: 59.34 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.852, allocations: 109.8 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.852, allocations: 29.7 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.8521, allocations: 96.03 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.8521, allocations: 7.938 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.8521, allocations: 21.66 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8523, allocations: 310.8 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.8525, allocations: 31.95 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.8526, allocations: 35.97 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.8529, allocations: 68.72 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8529, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003335/0.8532, allocations: 105.6 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8533, allocations: 8 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8533, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8533, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.8534, allocations: 19.91 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.8534, allocations: 4 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.8535, allocations: 11.92 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.8536, allocations: 4 kB / 1.224 GB, free: 13.76 MB / 0.9512 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 9.652e-05/0.8537, allocations: 113.8 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.8537, allocations: 4 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.8537, allocations: 7.906 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8537, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8537, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8537, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.854, allocations: 177.6 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.854, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.8541, allocations: 15.98 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8541, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8541, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8541, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8541, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.8545, allocations: 207.6 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.8546, allocations: 81.11 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.8546, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.8547, allocations: 11.98 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.8548, allocations: 15.95 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.8548, allocations: 4 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.8549, allocations: 79.28 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8549, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002219/0.8551, allocations: 12 kB / 1.225 GB, free: 12.93 MB / 0.9512 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.0008109/0.8559, allocations: 0.7324 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.8563, allocations: 75.86 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8563, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.8565, allocations: 35.95 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.8568, allocations: 15.94 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.8573, allocations: 160.2 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.8577, allocations: 0.6883 MB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.8577, allocations: 3.984 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.8578, allocations: 19.44 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.8578, allocations: 0 / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.8805, allocations: 1.778 MB / 1.228 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.771, allocations: 11.78 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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