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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.381/3.381, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 66.11 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4827, allocations: 174.9 MB / 1.316 GB, free: 9.633 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003441/0.4862, allocations: 1.527 MB / 1.318 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.4865, allocations: 151.5 kB / 1.318 GB, free: 7.953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.4865, allocations: 0 / 1.318 GB, free: 7.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.4866, allocations: 7.922 kB / 1.318 GB, free: 7.945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.4866, allocations: 11.88 kB / 1.318 GB, free: 7.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.07e-05/0.4867, allocations: 11.98 kB / 1.318 GB, free: 7.922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.4868, allocations: 51.8 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.487, allocations: 11.92 kB / 1.318 GB, free: 7.859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.487, allocations: 19.92 kB / 1.318 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.4871, allocations: 19.92 kB / 1.318 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.4871, allocations: 4 kB / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.4871, allocations: 4 kB / 1.318 GB, free: 7.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.4872, allocations: 11.97 kB / 1.318 GB, free: 7.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.4872, allocations: 19.88 kB / 1.318 GB, free: 7.781 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.4873, allocations: 31.89 kB / 1.318 GB, free: 7.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4873, allocations: 8 kB / 1.318 GB, free: 7.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4873, allocations: 0 / 1.318 GB, free: 7.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4873, allocations: 0 / 1.318 GB, free: 7.742 MB / 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.0006285/0.488, allocations: 290.2 kB / 1.318 GB, free: 7.426 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.488, allocations: 8.031 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.4881, allocations: 8.891 kB / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4882, allocations: 114.5 kB / 1.318 GB, free: 7.273 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4882, allocations: 4.375 kB / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.4882, allocations: 384 / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.4885, allocations: 74.16 kB / 1.318 GB, free: 7.191 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4885, allocations: 4.172 kB / 1.318 GB, free: 7.188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4885, allocations: 3.938 kB / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4885, allocations: 0 / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.4888, allocations: 63.94 kB / 1.318 GB, free: 7.121 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.4893, allocations: 236 kB / 1.319 GB, free: 6.848 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.4895, allocations: 58.41 kB / 1.319 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4897, allocations: 40.92 kB / 1.319 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.4897, allocations: 4 kB / 1.319 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.4897, allocations: 30.56 kB / 1.319 GB, free: 6.695 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4897, allocations: 3.938 kB / 1.319 GB, free: 6.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005779/0.4903, allocations: 133.5 kB / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4904, allocations: 51.41 kB / 1.319 GB, free: 6.492 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4905, allocations: 113.8 kB / 1.319 GB, free: 6.371 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.4905, allocations: 25.7 kB / 1.319 GB, free: 6.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.4906, allocations: 96 kB / 1.319 GB, free: 6.242 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.4906, allocations: 11.94 kB / 1.319 GB, free: 6.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.4906, allocations: 13.72 kB / 1.319 GB, free: 6.211 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4908, allocations: 314.8 kB / 1.32 GB, free: 5.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.491, allocations: 35.95 kB / 1.32 GB, free: 5.859 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4911, allocations: 27.97 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.4914, allocations: 72.78 kB / 1.32 GB, free: 5.758 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4914, allocations: 7.938 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003376/0.4917, allocations: 101.9 kB / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4918, allocations: 4 kB / 1.32 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4918, allocations: 3.984 kB / 1.32 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4918, allocations: 7.938 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4919, allocations: 11.98 kB / 1.32 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4919, allocations: 4 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.492, allocations: 19.97 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.492, allocations: 0 / 1.32 GB, free: 5.594 MB / 1.014 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.184e-05/0.4921, allocations: 113.8 kB / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.4921, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.4922, allocations: 12 kB / 1.32 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4922, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4922, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.4922, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.4924, allocations: 148.7 kB / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4924, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.4925, allocations: 15.98 kB / 1.32 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4925, allocations: 0 / 1.32 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4925, allocations: 0 / 1.32 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4925, allocations: 0 / 1.32 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4925, allocations: 0 / 1.32 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.4929, allocations: 207.3 kB / 1.32 GB, free: 5.027 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.4929, allocations: 4 kB / 1.32 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4929, allocations: 0 / 1.32 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.493, allocations: 11.98 kB / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4931, allocations: 7.984 kB / 1.32 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4931, allocations: 0 / 1.32 GB, free: 5.004 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.4931, allocations: 91.28 kB / 1.32 GB, free: 4.914 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4931, allocations: 3.938 kB / 1.32 GB, free: 4.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002131/0.4933, allocations: 15.89 kB / 1.32 GB, free: 4.895 MB / 1.014 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.0001267/0.4935, allocations: 99.77 kB / 1.32 GB, free: 4.789 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.4938, allocations: 63.92 kB / 1.321 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4938, allocations: 4 kB / 1.321 GB, free: 4.723 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.494, allocations: 35.91 kB / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4943, allocations: 15.92 kB / 1.321 GB, free: 4.672 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.4947, allocations: 138.8 kB / 1.321 GB, free: 4.512 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.4951, allocations: 0.6846 MB / 1.321 GB, free: 3.801 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.4951, allocations: 3.984 kB / 1.321 GB, free: 3.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.4951, allocations: 11.44 kB / 1.321 GB, free: 3.785 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.4951, allocations: 0 / 1.321 GB, free: 3.785 MB / 1.014 GB Notification: Performance of Templates: time 0.003733/0.4989, allocations: 0.8206 MB / 1.322 GB, free: 2.973 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.882531457580626]