Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.00179/0.00179, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002221/0.002221, allocations: 214.7 kB / 23.01 MB, free: 5.125 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.424/3.424, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [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.002048/0.002048, allocations: 71.59 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004136/0.388, allocations: 2.214 MB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004119/0.3921, allocations: 2.831 MB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.3923, allocations: 3.938 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.3937, allocations: 0.5406 MB / 1.36 GB, free: 2.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.3941, allocations: 163.2 kB / 1.36 GB, free: 2.133 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.3947, allocations: 210 kB / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.3952, allocations: 390.1 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3954, allocations: 29.28 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3955, allocations: 135.4 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3958, allocations: 163.1 kB / 1.361 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.3958, allocations: 8 kB / 1.361 GB, free: 1.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.396, allocations: 75.94 kB / 1.361 GB, free: 1.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3962, allocations: 131.5 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.3964, allocations: 238.3 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008625/0.3973, allocations: 0.7196 MB / 1.362 GB, free: 56 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3973, allocations: 0 / 1.362 GB, free: 56 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3973, allocations: 0 / 1.362 GB, free: 56 kB / 1.045 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3973, allocations: 3.938 kB / 1.362 GB, free: 52 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001345/0.3986, allocations: 0.8625 MB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3987, allocations: 12.03 kB / 1.363 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.3988, allocations: 84.39 kB / 1.363 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.3994, allocations: 402.9 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3994, allocations: 4.375 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3994, allocations: 12.11 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3996, allocations: 96.17 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3997, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3997, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3997, allocations: 8 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3998, allocations: 39.97 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.4006, allocations: 0.4997 MB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.401, allocations: 106.5 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.4011, allocations: 28.84 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.4011, allocations: 8 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.4013, allocations: 79.38 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4013, allocations: 0 / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004413/0.4017, allocations: 205.1 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.4018, allocations: 106.8 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.403, allocations: 0.9306 MB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.403, allocations: 29.7 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.4033, allocations: 320.1 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4033, allocations: 23.83 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.4034, allocations: 25.72 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4035, allocations: 309.9 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.4036, allocations: 27.98 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4037, allocations: 80.2 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4039, allocations: 69.69 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4039, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002826/0.4042, allocations: 177.1 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4042, allocations: 8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4042, allocations: 192 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4042, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.4043, allocations: 19.92 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4043, allocations: 4.031 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4044, allocations: 11.94 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4044, allocations: 4 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0003707/0.4048, allocations: 326.2 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.4049, allocations: 71.53 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.4052, allocations: 184.1 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4052, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4053, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4053, allocations: 7.938 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.4057, allocations: 372.4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4057, allocations: 3.938 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.4057, allocations: 8 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4057, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4057, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4058, allocations: 4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4058, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.4061, allocations: 220.9 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4062, allocations: 59.56 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.4062, allocations: 8 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4064, allocations: 4 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.4064, allocations: 7.984 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.4064, allocations: 11.92 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008491/0.4073, allocations: 0.6864 MB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003063/0.4076, allocations: 63.89 kB / 1.368 GB, free: 9.168 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001635/0.4092, allocations: 421.2 kB / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4095, allocations: 71.89 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4095, allocations: 3.938 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.4096, allocations: 31.98 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.4103, allocations: 176.1 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.4121, allocations: 1.215 MB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.4128, allocations: 0.9902 MB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.4129, allocations: 31.42 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of SimCode: time 7.92e-07/0.4129, allocations: 0 / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of Templates: time 0.01217/0.4251, allocations: 7.241 MB / 1.378 GB, free: 15.14 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 13.238649481994798]