Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001392/0.001392, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001526/0.001526, allocations: 210.9 kB / 23.01 MB, free: 4.93 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.27/1.27, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 179] 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 2.779/2.779, allocations: 0.49 GB / 0.7958 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.484e-05, allocations: 2.281 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002397/0.002412, allocations: 2.024 MB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.004925, allocations: 2.362 MB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.005002, allocations: 1.812 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.006036, allocations: 454.9 kB / 1.16 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.006151, allocations: 73.7 kB / 1.16 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.006823, allocations: 285 kB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.007164, allocations: 301.7 kB / 1.16 GB, free: 21.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.00725, allocations: 22.17 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.007391, allocations: 135.7 kB / 1.161 GB, free: 21.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.007594, allocations: 165.8 kB / 1.161 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.007615, allocations: 6.375 kB / 1.161 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007789/0.008394, allocations: 0.5413 MB / 1.161 GB, free: 21.66 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000374/0.008768, allocations: 446.1 kB / 1.162 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001439/0.008912, allocations: 304.6 kB / 1.162 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.008952, allocations: 11.88 kB / 1.162 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.71e-05/0.008969, allocations: 5.781 kB / 1.162 GB, free: 21.23 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 (12) * Number of variables: 22 (16) Notification: Performance of [SIM] Bindings: time 0.00184/0.01081, allocations: 2.724 MB / 1.165 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001337/0.01094, allocations: 105.9 kB / 1.165 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001771/0.01112, allocations: 226.8 kB / 1.165 GB, free: 19.35 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001095/0.01123, allocations: 116 kB / 1.165 GB, free: 19.23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005354/0.01177, allocations: 439.6 kB / 1.165 GB, free: 18.88 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.88e-05/0.01185, allocations: 101.7 kB / 1.166 GB, free: 18.77 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.813e-05/0.01189, allocations: 52.88 kB / 1.166 GB, free: 18.71 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001295/0.01202, allocations: 132.3 kB / 1.166 GB, free: 18.56 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.826e-05/0.01209, allocations: 26.73 kB / 1.166 GB, free: 18.55 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000126/0.01222, allocations: 103.9 kB / 1.166 GB, free: 18.49 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002442/0.01246, allocations: 169.1 kB / 1.166 GB, free: 18.44 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001347/0.01259, allocations: 163.8 kB / 1.166 GB, free: 18.36 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000269/0.01286, allocations: 236.7 kB / 1.166 GB, free: 18.14 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002069/0.01307, allocations: 266.8 kB / 1.167 GB, free: 18 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.332e-05/0.01308, allocations: 12.7 kB / 1.167 GB, free: 17.99 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.869e-05/0.01315, allocations: 71.38 kB / 1.167 GB, free: 17.95 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004045/0.01356, allocations: 308.9 kB / 1.167 GB, free: 17.88 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.105e-05/0.01357, allocations: 9.656 kB / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.01357, allocations: 1.531 kB / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.025e-06/0.01357, allocations: 0 / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.244e-06/0.01357, allocations: 5.562 kB / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.591e-06/0.01358, allocations: 1.156 kB / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001197/0.0137, allocations: 49.42 kB / 1.167 GB, free: 17.85 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.775e-06/0.01371, allocations: 5.031 kB / 1.167 GB, free: 17.85 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 10 (10) {speRat.a, speRat.b, speRat.last, speRat.nextEvent, speRat.nextEventScaled, greaterThreshold.y, booleanToInteger.y, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:7, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.282e-05/0.0138, allocations: 34.16 kB / 1.167 GB, free: 17.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0033/0.0171, allocations: 2.798 MB / 1.17 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.009389/0.02649, allocations: 4.545 MB / 1.174 GB, free: 16.26 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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: 7.390502416994423]