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.00164/0.00164, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.522/1.522, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.282/2.282, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5041, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.002247/0.5064, allocations: 1.52 MB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.5066, allocations: 146.8 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.5067, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.5067, allocations: 3.938 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.5068, allocations: 5.625 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.713e-05/0.5068, allocations: 17.41 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.5069, allocations: 46.92 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.507, allocations: 13.47 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.507, allocations: 17.47 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.5071, allocations: 26.78 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.5071, allocations: 4.125 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.5071, allocations: 2.75 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.5071, allocations: 9.312 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.5072, allocations: 16.05 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.158e-05/0.5072, allocations: 35.77 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5073, allocations: 0 / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5073, allocations: 7.938 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5073, allocations: 0 / 0.9516 GB, free: 7.727 MB / 0.7169 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.0004011/0.5077, allocations: 364 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5077, allocations: 18.2 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.5077, allocations: 39.61 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.5078, allocations: 3.219 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.137e-05/0.5078, allocations: 166.5 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.5079, allocations: 1.406 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.5079, allocations: 6.594 kB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.5081, allocations: 73.89 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.5081, allocations: 1.469 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.5081, allocations: 0 / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.5081, allocations: 0 / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.5084, allocations: 67.84 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.5087, allocations: 276.4 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.5089, allocations: 55.66 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.509, allocations: 39.8 kB / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.5091, allocations: 0 / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.5091, allocations: 36.2 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5091, allocations: 0 / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005129/0.5096, allocations: 133.8 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.5096, allocations: 52.91 kB / 0.9528 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.5097, allocations: 110.5 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.5097, allocations: 26.89 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.5097, allocations: 89.5 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.5097, allocations: 5.125 kB / 0.9531 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.5098, allocations: 12.25 kB / 0.9531 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.5098, allocations: 320.1 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.51, allocations: 37.27 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.5101, allocations: 29.62 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.5104, allocations: 71.97 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5104, allocations: 4 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003131/0.5107, allocations: 97.59 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5107, allocations: 5.062 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5107, allocations: 4 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5108, allocations: 0 / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5109, allocations: 23.03 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5109, allocations: 4 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.511, allocations: 11.48 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.511, allocations: 0 / 0.9536 GB, free: 5.711 MB / 0.7169 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 4.111e-05/0.511, allocations: 116.1 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.5111, allocations: 2.281 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.5111, allocations: 9.203 kB / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5111, allocations: 1.375 kB / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5111, allocations: 0 / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.5111, allocations: 7.984 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.5112, allocations: 181.9 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5112, allocations: 3.938 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.5113, allocations: 13.77 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5113, allocations: 1.469 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.5114, allocations: 0 / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5114, allocations: 1.125 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5114, allocations: 0 / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.5117, allocations: 196.1 kB / 0.9542 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.5117, allocations: 82.48 kB / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5117, allocations: 1.281 kB / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5119, allocations: 10.33 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.5119, allocations: 5.203 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.5119, allocations: 1.25 kB / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.5119, allocations: 89.56 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5119, allocations: 0 / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002353/0.5122, allocations: 15.81 kB / 0.9544 GB, free: 4.977 MB / 0.7169 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.0004785/0.5127, allocations: 0.7338 MB / 0.9551 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.513, allocations: 71.23 kB / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.513, allocations: 0 / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.5132, allocations: 48.52 kB / 0.9552 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5134, allocations: 4.281 kB / 0.9552 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.5138, allocations: 164.1 kB / 0.9553 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.73e-05/0.5139, allocations: 0.6829 MB / 0.956 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.514, allocations: 9.422 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.514, allocations: 14.31 kB / 0.956 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.514, allocations: 3.938 kB / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.5292, allocations: 1.749 MB / 0.9577 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.679, allocations: 10.41 kB / 0.9578 GB, free: 2.406 MB / 0.7169 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