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.00732/0.00732, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001555/0.001555, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.246/2.246, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.667/0.6682, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.002186/0.6704, allocations: 1.522 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.6707, allocations: 151.2 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.6707, allocations: 1.156 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.6707, allocations: 4.781 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.6708, allocations: 10.73 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.729e-05/0.6709, allocations: 13.55 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.6709, allocations: 44.55 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.6711, allocations: 23.12 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.6711, allocations: 17.86 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.6712, allocations: 20 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.6712, allocations: 3.469 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.6712, allocations: 4.188 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.6712, allocations: 10.38 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.6713, allocations: 19.25 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.6713, allocations: 35.22 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6713, allocations: 1.312 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6714, allocations: 0 / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6714, allocations: 4 kB / 1.089 GB, free: 4.004 MB / 0.8575 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.0004247/0.6718, allocations: 364.2 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.6718, allocations: 13.56 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.6719, allocations: 36.33 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.6719, allocations: 7.562 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.365e-05/0.672, allocations: 172.5 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.672, allocations: 5.562 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.672, allocations: 5.188 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.6722, allocations: 71.98 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6722, allocations: 0.5625 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6723, allocations: 1.125 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6723, allocations: 0.9688 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.6726, allocations: 62.5 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.6728, allocations: 278.6 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.673, allocations: 59.45 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6732, allocations: 36.67 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.6732, allocations: 5.062 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.6732, allocations: 32.48 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.6733, allocations: 0 / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006031/0.6739, allocations: 128 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.6739, allocations: 56.73 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.674, allocations: 114.4 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.674, allocations: 26.94 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.674, allocations: 86.83 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.674, allocations: 10.41 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.6741, allocations: 12.28 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.6741, allocations: 323.1 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.6743, allocations: 35.83 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.6744, allocations: 30.42 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.6747, allocations: 65.66 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6747, allocations: 1.656 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.675, allocations: 104.6 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.675, allocations: 6.328 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.675, allocations: 0 / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.675, allocations: 1.094 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6752, allocations: 15.84 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6752, allocations: 0 / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.6753, allocations: 19.77 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.6753, allocations: 4.938 kB / 1.091 GB, free: 2.172 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 4.472e-05/0.6753, allocations: 116.8 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.6754, allocations: 2.156 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.6754, allocations: 13.62 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6754, allocations: 1.891 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6754, allocations: 0 / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.6754, allocations: 1.031 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.6755, allocations: 166.2 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6755, allocations: 5.031 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.6756, allocations: 15.33 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6756, allocations: 0.7969 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6757, allocations: 5.188 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6757, allocations: 4 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6757, allocations: 0 / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.676, allocations: 203 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.676, allocations: 78.02 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.676, allocations: 1.922 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.6762, allocations: 14.97 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.6762, allocations: 4.203 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.6762, allocations: 1.281 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.6762, allocations: 87.75 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6762, allocations: 4 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002168/0.6765, allocations: 16.16 kB / 1.092 GB, free: 1.484 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.0005647/0.677, allocations: 0.7284 MB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.6774, allocations: 66.5 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6774, allocations: 0 / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.6776, allocations: 35.09 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.6779, allocations: 14.47 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.6783, allocations: 170.1 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.6785, allocations: 0.6844 MB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.6786, allocations: 2.109 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.6786, allocations: 17.7 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.6786, allocations: 0.6875 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.6956, allocations: 1.772 MB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.767, allocations: 8.625 kB / 1.096 GB, free: 15.55 MB / 0.8731 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