Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.001376/0.001376, allocations: 96.42 kB / 19.71 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.001804/0.001804, allocations: 211.1 kB / 23.01 MB, free: 4.926 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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 3.503/3.503, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] 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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.646e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003945/0.003972, allocations: 1.77 MB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.00605, allocations: 0.6818 MB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.006173, allocations: 7.469 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.006369, allocations: 28.89 kB / 1.157 GB, free: 23.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.006457, allocations: 29.17 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.007498, allocations: 265.3 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006909/0.008189, allocations: 449.9 kB / 1.158 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.008611, allocations: 185.9 kB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.008914, allocations: 171 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.009177, allocations: 157.1 kB / 1.159 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.893e-05/0.009276, allocations: 42.88 kB / 1.159 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.009441, allocations: 62 kB / 1.159 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004814/0.009923, allocations: 0.4924 MB / 1.159 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002072/0.01013, allocations: 268.6 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.01023, allocations: 19.31 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001035/0.01033, allocations: 36.25 kB / 1.16 GB, free: 22.37 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.001758/0.01209, allocations: 1.234 MB / 1.161 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002694/0.01236, allocations: 186.7 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001251/0.01361, allocations: 1.104 MB / 1.162 GB, free: 20.65 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003728/0.01398, allocations: 266 kB / 1.162 GB, free: 20.48 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001904/0.01589, allocations: 1.217 MB / 1.163 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003122/0.0162, allocations: 228.2 kB / 1.164 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002078/0.01641, allocations: 172.3 kB / 1.164 GB, free: 19.47 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005441/0.01695, allocations: 368.1 kB / 1.164 GB, free: 19.18 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001697/0.01712, allocations: 81.69 kB / 1.164 GB, free: 19.14 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003969/0.01752, allocations: 261.5 kB / 1.164 GB, free: 19.01 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001129/0.01865, allocations: 0.7075 MB / 1.165 GB, free: 18.83 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007192/0.01936, allocations: 0.6509 MB / 1.166 GB, free: 18.47 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006979/0.02006, allocations: 431.3 kB / 1.166 GB, free: 18.19 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0009891/0.02105, allocations: 0.9569 MB / 1.167 GB, free: 17.62 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 5.441e-05/0.02111, allocations: 28.66 kB / 1.167 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001474/0.02125, allocations: 142.8 kB / 1.167 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.002528/0.02378, allocations: 1.546 MB / 1.169 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 3.432e-05/0.02382, allocations: 28.12 kB / 1.169 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.142e-06/0.02382, allocations: 0 / 1.169 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.439e-05/0.02383, allocations: 448 / 1.169 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.674e-05/0.02385, allocations: 26.41 kB / 1.169 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.544e-05/0.02386, allocations: 2.375 kB / 1.169 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0005205/0.02438, allocations: 308.9 kB / 1.169 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.277e-05/0.0244, allocations: 7.938 kB / 1.169 GB, free: 16.95 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: .................... 3 (3) {sta.onToOff.t_start, sta.offToOn.t_start, y1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 37 (37) {sta.y1_actual, sta.stateGraphRoot.activeSteps, sta.off.localActive, sta.off.inPort.occupied, sta.off.inPort.set, sta.off.outPort.available, sta.off.outPort.reset, sta.off.newActive, sta.off.active, sta.offToOn.enableFire, sta.offToOn.fire, sta.offToOn.inPort.available, sta.offToOn.outPort.occupied, sta.on.localActive, sta.on.inPort.occupied, sta.on.inPort.set, sta.on.outPort.available, sta.on.outPort.reset, sta.on.newActive, sta.onToOff.enableFire, sta.onToOff.fire, sta.onToOff.inPort.available, sta.onToOff.outPort.occupied, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 57 (scalar:57, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: Performance of backend: time 0.0001638/0.02456, allocations: 57.16 kB / 1.169 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001508/0.02607, allocations: 0.8845 MB / 1.17 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.007966/0.03403, allocations: 2.772 MB / 1.173 GB, free: 16.13 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.480479673016816]