Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002175/0.002175, allocations: 113 kB / 18.94 MB, free: 2.934 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.001742/0.001742, allocations: 208.7 kB / 22.25 MB, free: 5.082 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.249/3.249, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_12_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.002063/0.002063, allocations: 70.55 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002905/0.3735, allocations: 1.545 MB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.3737, allocations: 151.5 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.3738, allocations: 0 / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3738, allocations: 3.938 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.3739, allocations: 7.938 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.212e-05/0.3739, allocations: 23.91 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.829e-05/0.374, allocations: 35.92 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3741, allocations: 15.92 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.709e-05/0.3742, allocations: 19.88 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.3743, allocations: 23.91 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3743, allocations: 4 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.3743, allocations: 4 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.3743, allocations: 11.98 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.3743, allocations: 23.86 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3744, allocations: 35.89 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3744, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3744, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3744, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 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.0005472/0.375, allocations: 290.2 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.375, allocations: 8.031 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.3751, allocations: 38.73 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.3751, allocations: 8.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3752, allocations: 110.5 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.3752, allocations: 384 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3752, allocations: 384 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3755, allocations: 78.16 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3755, allocations: 7.875 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3755, allocations: 3.984 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3755, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.3758, allocations: 67.92 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.3761, allocations: 236 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3763, allocations: 58.47 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3765, allocations: 40.92 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3765, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3765, allocations: 34.56 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3765, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000519/0.377, allocations: 133.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.377, allocations: 55.34 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.3771, allocations: 113.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3772, allocations: 29.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.3772, allocations: 88.08 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3772, allocations: 7.906 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3773, allocations: 21.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3774, allocations: 318.8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3775, allocations: 31.97 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3777, allocations: 31.95 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.378, allocations: 76.72 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.378, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.3783, allocations: 97.62 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3783, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3783, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3783, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3784, allocations: 19.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3784, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.3785, allocations: 11.98 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3785, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 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.312e-05/0.3786, allocations: 122.3 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3786, allocations: 3.953 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.3786, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3787, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3787, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3787, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3788, allocations: 144.6 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3788, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.3789, allocations: 15.97 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3789, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3789, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3789, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3789, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.3793, allocations: 203.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.3793, allocations: 11.94 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3793, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3794, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.3795, allocations: 8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3795, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.3795, allocations: 91.27 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3795, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002162/0.3797, allocations: 8 kB / 1.33 GB, free: 13.14 MB / 1.029 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.0006786/0.3804, allocations: 0.7318 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.3807, allocations: 63.92 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3807, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.3809, allocations: 39.97 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3812, allocations: 15.06 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.3817, allocations: 183.2 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.382, allocations: 0.6768 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.382, allocations: 8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.382, allocations: 15.42 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.382, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.4096, allocations: 1.87 MB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.99, allocations: 19.47 kB / 1.334 GB, free: 9.59 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.942758793000394]