Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.006989/0.00699, allocations: 97.08 kB / 15.73 MB, free: 6.055 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.001624/0.001624, allocations: 195.7 kB / 16.67 MB, free: 5.977 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.47 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.00245/0.2341, allocations: 1.525 MB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.2344, allocations: 155.5 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.2344, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.2345, allocations: 3.938 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.2345, allocations: 11.91 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.063e-05/0.2346, allocations: 11.98 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.2347, allocations: 39.86 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.2348, allocations: 11.98 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.2348, allocations: 23.92 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.2349, allocations: 23.92 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2349, allocations: 4 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-06/0.2349, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.2349, allocations: 11.98 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.235, allocations: 15.88 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.2351, allocations: 44.03 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2351, allocations: 3.984 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2351, allocations: 0 / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2351, allocations: 0 / 1.089 GB, free: 80 kB / 0.8419 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.0005002/0.2356, allocations: 371.4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2356, allocations: 8.031 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.2357, allocations: 30.75 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2357, allocations: 4.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.2358, allocations: 172.3 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2358, allocations: 12.36 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2359, allocations: 4.125 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2361, allocations: 65.66 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.2361, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2361, allocations: 8 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2361, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.2364, allocations: 63.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.2367, allocations: 272.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2369, allocations: 54.55 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2371, allocations: 36.91 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2371, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2371, allocations: 42.5 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2371, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005088/0.2377, allocations: 133.5 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.2377, allocations: 51.41 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.2378, allocations: 113.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2378, allocations: 25.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.2378, allocations: 84.14 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2379, allocations: 9.312 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2379, allocations: 17.72 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.238, allocations: 318.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2381, allocations: 31.97 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2383, allocations: 39.89 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.2385, allocations: 64.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2386, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003073/0.2389, allocations: 105.6 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2389, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2389, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2389, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.239, allocations: 15.98 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.239, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.2391, allocations: 15.98 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2391, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 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.609e-05/0.2392, allocations: 125.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.2393, allocations: 3.953 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2393, allocations: 7.906 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2393, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2393, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2393, allocations: 336 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2395, allocations: 169.6 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2395, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.2396, allocations: 19.97 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2396, allocations: 3.984 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2396, allocations: 7.938 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2396, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2396, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.2399, allocations: 195.4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.24, allocations: 85.05 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.24, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2401, allocations: 15.86 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2402, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2402, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.2402, allocations: 95.48 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2402, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002152/0.2404, allocations: 7.938 kB / 1.092 GB, free: 12.87 MB / 0.8575 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.0005908/0.241, allocations: 0.7286 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.2414, allocations: 75.86 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2414, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2415, allocations: 35.97 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2418, allocations: 13.33 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.2422, allocations: 166 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2425, allocations: 0.6768 MB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.2425, allocations: 8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.2426, allocations: 11.44 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2426, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.2585, allocations: 1.785 MB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/7.072, allocations: 9.062 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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