Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001469/0.001469, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001581/0.001581, allocations: 209.3 kB / 23.06 MB, free: 4.984 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.368/1.368, allocations: 230.7 MB / 256.9 MB, free: 7.773 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.236/3.236, allocations: 0.5108 GB / 0.8167 GB, free: 17.73 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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.783e-05, allocations: 3.969 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001906/0.001924, allocations: 1.227 MB / 1.188 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.002157, allocations: 53.89 kB / 1.188 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.002186, allocations: 1.188 kB / 1.188 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.002223, allocations: 4.641 kB / 1.188 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.002326, allocations: 8.016 kB / 1.188 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.002481, allocations: 5.266 kB / 1.188 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.002566, allocations: 23.72 kB / 1.188 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.002615, allocations: 7 kB / 1.188 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.002646, allocations: 5.844 kB / 1.188 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.00269, allocations: 5.766 kB / 1.188 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.002702, allocations: 8.969 kB / 1.188 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.002761, allocations: 6.156 kB / 1.188 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.499e-05/0.002816, allocations: 28.56 kB / 1.188 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.705e-05/0.002833, allocations: 14.58 kB / 1.188 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.002845, allocations: 0 / 1.188 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.677e-06/0.002854, allocations: 2.078 kB / 1.188 GB, free: 12.52 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: 0 (0) * Number of variables: 0 (0) Notification: Performance of [SIM] Bindings: time 0.000351/0.003205, allocations: 246.1 kB / 1.189 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.679e-05/0.003281, allocations: 46.84 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 8.952e-05/0.003371, allocations: 56.39 kB / 1.189 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.512e-05/0.003416, allocations: 68.48 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 5.536e-05/0.003471, allocations: 76.22 kB / 1.189 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.819e-05/0.00351, allocations: 61.03 kB / 1.189 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.989e-05/0.003529, allocations: 41.56 kB / 1.189 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.533e-05/0.003585, allocations: 85.31 kB / 1.189 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.572e-06/0.003591, allocations: 9.25 kB / 1.189 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 1.657e-05/0.003608, allocations: 6.141 kB / 1.189 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 4.248e-06/0.003612, allocations: 0 / 1.189 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.563e-05/0.003628, allocations: 11.83 kB / 1.189 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001637/0.003791, allocations: 117.7 kB / 1.189 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 3.486e-05/0.003826, allocations: 39.84 kB / 1.189 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.007e-06/0.003835, allocations: 10.03 kB / 1.189 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 8.827e-06/0.003844, allocations: 10.08 kB / 1.189 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004389/0.004283, allocations: 220.8 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.018e-05/0.004293, allocations: 1.125 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.182e-06/0.004294, allocations: 1.125 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.074e-06/0.004296, allocations: 0 / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 9.22e-07/0.004297, allocations: 0 / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.814e-06/0.004299, allocations: 5.219 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 3.096e-06/0.004302, allocations: 5.094 kB / 1.19 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.131e-05/0.004344, allocations: 7.578 kB / 1.19 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.602e-06/0.00435, allocations: 0 / 1.19 GB, free: 11.33 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: ......... 0 * 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: ................. 0 (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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.747e-05/0.004378, allocations: 20.16 kB / 1.19 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005941/0.004972, allocations: 418.7 kB / 1.19 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.002648/0.00762, allocations: 346.1 kB / 1.19 GB, free: 11 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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: 8.085088246036321]