Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002393/0.002393, allocations: 108.9 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002499/0.002499, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.293/3.293, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 74.75 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3723, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002811/0.3751, allocations: 1.53 MB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.3754, allocations: 147.6 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.3754, allocations: 0 / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.3754, allocations: 3.938 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.3755, allocations: 15.81 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.887e-05/0.3756, allocations: 11.97 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.3757, allocations: 47.86 kB / 1.349 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3758, allocations: 19.91 kB / 1.35 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.3758, allocations: 11.94 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.3759, allocations: 27.91 kB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3759, allocations: 4 kB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.3759, allocations: 4 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.376, allocations: 4 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.376, allocations: 19.86 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.485e-05/0.3761, allocations: 31.89 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3761, allocations: 0 / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3761, allocations: 8 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3761, allocations: 0 / 1.35 GB, free: 8.074 MB / 1.045 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.0005985/0.3767, allocations: 371.2 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3767, allocations: 11.98 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3768, allocations: 30.75 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3768, allocations: 8.891 kB / 1.35 GB, free: 7.602 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3769, allocations: 172.3 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.377, allocations: 384 / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.377, allocations: 8.375 kB / 1.35 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.3772, allocations: 74.2 kB / 1.35 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3772, allocations: 7.922 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3773, allocations: 4 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3773, allocations: 0 / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.3776, allocations: 67.92 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.378, allocations: 268.8 kB / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3782, allocations: 54.55 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3784, allocations: 36.91 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3784, allocations: 7.938 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3784, allocations: 34.56 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3784, allocations: 0 / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005698/0.379, allocations: 129.5 kB / 1.351 GB, free: 6.633 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.379, allocations: 55.41 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.3791, allocations: 109.8 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3791, allocations: 29.7 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.3792, allocations: 88.12 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3792, allocations: 11.84 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3792, allocations: 13.72 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3794, allocations: 318.8 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3795, allocations: 35.97 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3797, allocations: 27.97 kB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.38, allocations: 72.72 kB / 1.352 GB, free: 5.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.38, allocations: 0 / 1.352 GB, free: 5.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000341/0.3803, allocations: 101.6 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3803, allocations: 4 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3803, allocations: 0 / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3803, allocations: 3.984 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3805, allocations: 15.98 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3805, allocations: 0 / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.3806, allocations: 19.94 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3806, allocations: 0 / 1.352 GB, free: 5.688 MB / 1.045 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 8.573e-05/0.3806, allocations: 113.8 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.3807, allocations: 4 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.3807, allocations: 11.89 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3807, allocations: 0 / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3807, allocations: 4 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3807, allocations: 0 / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3809, allocations: 169.6 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3809, allocations: 0 / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.381, allocations: 15.98 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.381, allocations: 0 / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.381, allocations: 7.984 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.381, allocations: 0 / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.381, allocations: 3.938 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.3814, allocations: 203.6 kB / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3815, allocations: 81.11 kB / 1.352 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3815, allocations: 4 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3816, allocations: 15.97 kB / 1.352 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.3816, allocations: 4 kB / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3816, allocations: 0 / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.3817, allocations: 91.56 kB / 1.352 GB, free: 4.867 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3817, allocations: 8 kB / 1.352 GB, free: 4.859 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000219/0.3819, allocations: 4 kB / 1.352 GB, free: 4.855 MB / 1.045 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.0007278/0.3826, allocations: 0.7372 MB / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.383, allocations: 71.91 kB / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.383, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3831, allocations: 31.97 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3835, allocations: 17.88 kB / 1.353 GB, free: 3.977 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.384, allocations: 180.1 kB / 1.353 GB, free: 3.762 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3843, allocations: 0.6768 MB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.3843, allocations: 4 kB / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.3844, allocations: 15.44 kB / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3844, allocations: 0 / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4093, allocations: 1.782 MB / 1.356 GB, free: 1.398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.367, allocations: 6.938 kB / 1.356 GB, free: 1.395 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.41734077502042]