Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001775/0.001775, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002176/0.002176, allocations: 190.9 kB / 22.11 MB, free: 5.148 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.578/1.578, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.448/3.448, allocations: 495.8 MB / 0.783 GB, free: 33.63 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-maint.12.x/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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 68.52 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4703, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004497/0.4748, allocations: 2.181 MB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.479, allocations: 2.671 MB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.4792, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.4808, allocations: 0.5443 MB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.4812, allocations: 127.3 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.4819, allocations: 239.9 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.4825, allocations: 366.3 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.4826, allocations: 37.25 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.4828, allocations: 131.3 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.483, allocations: 159.1 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.4831, allocations: 8 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.4833, allocations: 67.95 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.4835, allocations: 135.4 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.4837, allocations: 234.3 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009492/0.4847, allocations: 0.7157 MB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4847, allocations: 0 / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4847, allocations: 4 kB / 1.314 GB, free: 10.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.4847, allocations: 0 / 1.314 GB, free: 10.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001513/0.4862, allocations: 0.8508 MB / 1.315 GB, free: 9.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4863, allocations: 8.922 kB / 1.315 GB, free: 9.305 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.4864, allocations: 76.41 kB / 1.315 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.487, allocations: 406.8 kB / 1.315 GB, free: 8.805 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4871, allocations: 4.375 kB / 1.315 GB, free: 8.801 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.4871, allocations: 8.125 kB / 1.315 GB, free: 8.793 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.4873, allocations: 100.2 kB / 1.316 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4874, allocations: 0 / 1.316 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4874, allocations: 4 kB / 1.316 GB, free: 8.676 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4874, allocations: 0 / 1.316 GB, free: 8.676 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4875, allocations: 43.97 kB / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.4884, allocations: 0.5034 MB / 1.316 GB, free: 8.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.4888, allocations: 98.66 kB / 1.316 GB, free: 7.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.4889, allocations: 32.83 kB / 1.316 GB, free: 7.945 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.4889, allocations: 0 / 1.316 GB, free: 7.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.4891, allocations: 95.3 kB / 1.316 GB, free: 7.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4891, allocations: 4 kB / 1.316 GB, free: 7.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004986/0.4896, allocations: 197.2 kB / 1.317 GB, free: 7.637 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/0.4897, allocations: 106.8 kB / 1.317 GB, free: 7.508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.4909, allocations: 0.9187 MB / 1.318 GB, free: 6.582 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.491, allocations: 29.7 kB / 1.318 GB, free: 6.547 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.4913, allocations: 316 kB / 1.318 GB, free: 6.234 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.4914, allocations: 15.86 kB / 1.318 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.4914, allocations: 29.7 kB / 1.318 GB, free: 6.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4916, allocations: 317.9 kB / 1.318 GB, free: 5.867 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.4917, allocations: 23.98 kB / 1.318 GB, free: 5.844 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4918, allocations: 84.2 kB / 1.318 GB, free: 5.746 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.492, allocations: 65.7 kB / 1.318 GB, free: 5.676 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.492, allocations: 0 / 1.318 GB, free: 5.676 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000315/0.4923, allocations: 181.1 kB / 1.319 GB, free: 5.492 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4923, allocations: 7.938 kB / 1.319 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4923, allocations: 0 / 1.319 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4923, allocations: 4 kB / 1.319 GB, free: 5.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.4924, allocations: 12 kB / 1.319 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4924, allocations: 4 kB / 1.319 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4925, allocations: 15.86 kB / 1.319 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.4926, allocations: 0 / 1.319 GB, free: 5.449 MB / 1.014 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.0003776/0.4929, allocations: 333.6 kB / 1.319 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.493, allocations: 71.53 kB / 1.319 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.4934, allocations: 180.1 kB / 1.319 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4934, allocations: 0 / 1.319 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4934, allocations: 0 / 1.319 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4934, allocations: 3.938 kB / 1.319 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.4939, allocations: 368.5 kB / 1.32 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4939, allocations: 0 / 1.32 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.4939, allocations: 4 kB / 1.32 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4939, allocations: 4 kB / 1.32 GB, free: 4.441 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4939, allocations: 4 kB / 1.32 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.494, allocations: 7.984 kB / 1.32 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.494, allocations: 0 / 1.32 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.4943, allocations: 205 kB / 1.32 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.4944, allocations: 59.53 kB / 1.32 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.4945, allocations: 8 kB / 1.32 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.4946, allocations: 7.984 kB / 1.32 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.4947, allocations: 11.98 kB / 1.32 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4947, allocations: 8.125 kB / 1.32 GB, free: 4.117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009056/0.4956, allocations: 0.6785 MB / 1.32 GB, free: 3.441 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4956, allocations: 3.938 kB / 1.32 GB, free: 3.438 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003144/0.4959, allocations: 59.94 kB / 1.321 GB, free: 3.379 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: 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.001624/0.4975, allocations: 426.2 kB / 1.321 GB, free: 3.117 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.4978, allocations: 75.89 kB / 1.321 GB, free: 3.043 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4978, allocations: 4.062 kB / 1.321 GB, free: 3.039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4979, allocations: 31.98 kB / 1.321 GB, free: 3.008 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.4987, allocations: 177.9 kB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.5007, allocations: 1.143 MB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.5014, allocations: 0.9941 MB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.5016, allocations: 38.98 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.5017, allocations: 27.42 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/0.5017, allocations: 0 / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of Templates: time 0.01449/0.5161, allocations: 6.153 MB / 1.329 GB, free: 10.54 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.355001583695412]