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.001858/0.001858, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.002399/0.002399, allocations: 214 kB / 22.99 MB, free: 4.957 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.414/3.414, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [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.002102/0.002102, allocations: 71.36 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.0036/0.3881, allocations: 1.513 MB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.3884, allocations: 147.5 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.3885, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.3885, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.3886, allocations: 15.86 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.483e-05/0.3887, allocations: 11.97 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3888, allocations: 47.86 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3889, allocations: 11.92 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.389, allocations: 15.94 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3891, allocations: 23.91 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3891, allocations: 11.94 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.3891, allocations: 4 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.3891, allocations: 4 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.3891, allocations: 19.86 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.3893, allocations: 36 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3893, allocations: 4 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3893, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3893, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 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.0005825/0.3899, allocations: 286.2 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.39, allocations: 12.03 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.39, allocations: 8.922 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3901, allocations: 118.4 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.3901, allocations: 384 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3902, allocations: 4.375 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.3904, allocations: 66.22 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3904, allocations: 192 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3904, allocations: 7.938 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3904, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.3907, allocations: 67.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3911, allocations: 212.5 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.3913, allocations: 54.53 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3915, allocations: 40.86 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.3915, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3915, allocations: 34.55 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3915, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005385/0.392, allocations: 125.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3921, allocations: 55.41 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.3922, allocations: 109.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3922, allocations: 29.7 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.3923, allocations: 96 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3923, allocations: 11.91 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3923, allocations: 13.72 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3925, allocations: 314.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3926, allocations: 31.95 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3928, allocations: 35.97 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.393, allocations: 68.78 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.393, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003156/0.3934, allocations: 101.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3934, allocations: 8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3934, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3934, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3935, allocations: 23.91 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3935, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.3936, allocations: 15.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3936, allocations: 0 / 1.33 GB, free: 13.86 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 9.098e-05/0.3937, allocations: 110.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3937, allocations: 11.89 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.3938, allocations: 8.328 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3938, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3938, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3938, allocations: 7.969 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.3939, allocations: 109.3 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3939, allocations: 7.984 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.394, allocations: 15.92 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.394, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.394, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3941, allocations: 3.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3941, allocations: 8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3944, allocations: 187.5 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.3944, allocations: 11.88 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3945, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3946, allocations: 11.98 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.3946, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3946, allocations: 7.984 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.3947, allocations: 87.28 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3947, allocations: 3.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002125/0.3949, allocations: 8 kB / 1.331 GB, free: 13.2 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.0001313/0.395, allocations: 95.25 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.3954, allocations: 71.86 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3954, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3955, allocations: 35.95 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3958, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.3962, allocations: 172.4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.554e-05/0.3963, allocations: 63.34 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.3964, allocations: 15.44 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3964, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of Templates: time 0.002286/0.3986, allocations: 0.7901 MB / 1.332 GB, free: 11.91 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/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: 11.81273233704269]