Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00142/0.00142, 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.001853/0.001853, allocations: 212.5 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.522/1.522, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_11_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.002135/0.002135, allocations: 67.84 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 169.9 MB / 1.283 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.00288/0.3532, allocations: 1.532 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.3534, allocations: 135.6 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.3535, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3535, allocations: 3.938 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.3536, allocations: 7.938 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.295e-05/0.3537, allocations: 11.97 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3538, allocations: 55.78 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3539, allocations: 7.984 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.354, allocations: 19.94 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.354, allocations: 23.91 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.354, allocations: 7.938 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.354, allocations: 4 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3541, allocations: 4 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.3541, allocations: 15.92 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3542, allocations: 43.39 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3542, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3542, allocations: 3.938 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3542, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 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.0005374/0.3548, allocations: 292 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3548, allocations: 12.03 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.3548, allocations: 34.73 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.3549, allocations: 0.9375 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.355, allocations: 110.5 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.355, allocations: 4.375 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.355, allocations: 384 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3552, allocations: 70.16 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3553, allocations: 7.938 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3553, allocations: 4 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3553, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.3556, allocations: 63.92 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.356, allocations: 232 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3562, allocations: 54.55 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.3564, allocations: 40.84 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3564, allocations: 3.984 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3564, allocations: 42.5 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3564, allocations: 0 / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005394/0.3569, allocations: 133.5 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.357, allocations: 51.41 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.3571, allocations: 109.8 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3571, allocations: 25.7 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.3571, allocations: 84.14 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3572, allocations: 15.84 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3572, allocations: 13.72 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3574, allocations: 322.8 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.3575, allocations: 31.97 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3577, allocations: 35.95 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.3579, allocations: 64.73 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3579, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003274/0.3583, allocations: 105.6 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3583, allocations: 10.34 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3583, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3583, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3584, allocations: 15.92 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3584, allocations: 3.938 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.3585, allocations: 15.98 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3585, allocations: 4 kB / 1.286 GB, free: 8.215 MB / 0.9825 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.134e-05/0.3586, allocations: 113.8 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3586, allocations: 7.953 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.3586, allocations: 11.98 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3586, allocations: 0 / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3586, allocations: 0 / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3586, allocations: 0 / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3588, allocations: 136.7 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3588, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3589, allocations: 19.98 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3589, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3589, allocations: 3.984 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3589, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3589, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.3593, allocations: 201.2 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.3593, allocations: 3.953 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3594, allocations: 4 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3595, allocations: 11.98 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3595, allocations: 7.984 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3595, allocations: 384 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.3596, allocations: 91.27 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3596, allocations: 3.938 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002159/0.3598, allocations: 4 kB / 1.287 GB, free: 7.535 MB / 0.9825 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.0007019/0.3605, allocations: 0.7319 MB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.3608, allocations: 75.86 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3608, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.361, allocations: 31.97 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3613, allocations: 14.25 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.3618, allocations: 172.5 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.3619, allocations: 67.3 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.3619, allocations: 3.938 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.362, allocations: 15.44 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.362, allocations: 7.938 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4015, allocations: 2.353 MB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.29, allocations: 6.75 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.106058436445892]