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.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002034/0.002034, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.781 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.415/3.415, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002136/0.002136, allocations: 65.42 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 181.8 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.00296/0.357, allocations: 1.529 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.3573, allocations: 135.6 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.3574, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.3574, allocations: 11.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.3575, allocations: 3.938 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.082e-05/0.3576, allocations: 7.984 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.3577, allocations: 51.78 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3578, allocations: 15.92 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.3578, allocations: 19.92 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.3579, allocations: 19.86 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3579, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3579, allocations: 8 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3579, allocations: 7.984 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.358, allocations: 11.94 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3581, allocations: 47.81 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3581, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3581, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3581, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 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.0005195/0.3586, allocations: 286.2 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3587, allocations: 12.03 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.3587, allocations: 38.75 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.3587, allocations: 8.891 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3588, allocations: 106.5 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3588, allocations: 4.375 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.3589, allocations: 384 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3591, allocations: 74.2 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3591, allocations: 3.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3591, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3591, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.3594, allocations: 71.86 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3598, allocations: 228 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.36, allocations: 54.53 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3602, allocations: 36.92 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.3602, allocations: 4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3602, allocations: 34.5 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 2.996e-06/0.3602, allocations: 3.984 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.3608, allocations: 129.6 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3608, allocations: 55.41 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.3609, allocations: 109.8 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3609, allocations: 25.7 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.361, allocations: 92.03 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.361, allocations: 7.953 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.361, allocations: 13.7 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3612, allocations: 318.8 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3613, allocations: 27.97 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3615, allocations: 39.95 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3617, allocations: 72.66 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3617, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000327/0.3621, allocations: 97.58 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3621, allocations: 12 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3621, allocations: 7.875 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3621, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3622, allocations: 15.98 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3622, allocations: 4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.3623, allocations: 7.984 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3623, allocations: 11.98 kB / 1.367 GB, free: 10.01 MB / 1.061 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.681e-05/0.3624, allocations: 113.8 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3624, allocations: 8 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.3625, allocations: 11.94 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3625, allocations: 0 / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3625, allocations: 0 / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3625, allocations: 0 / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3627, allocations: 132.7 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3627, allocations: 4 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3628, allocations: 15.97 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3628, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3628, allocations: 4 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3628, allocations: 4 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3628, allocations: 4 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3632, allocations: 191.4 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.3632, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3632, allocations: 7.984 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3633, allocations: 11.98 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3633, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3633, allocations: 4 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.3634, allocations: 95.52 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3634, allocations: 0 / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002361/0.3636, allocations: 8 kB / 1.368 GB, free: 9.32 MB / 1.061 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.000732/0.3644, allocations: 0.7244 MB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.3647, allocations: 75.95 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3647, allocations: 3.938 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3649, allocations: 31.97 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3652, allocations: 16.2 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.3657, allocations: 176.5 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.19e-05/0.3658, allocations: 67.28 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.3658, allocations: 0 / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.3659, allocations: 19.38 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of SimCode: time 6.42e-07/0.3659, allocations: 0 / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3958, allocations: 2.347 MB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.49, allocations: 9.344 kB / 1.371 GB, free: 5.926 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 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.mat","/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: 18.68303392920643]