Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.001219/0.001219, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001329/0.001329, allocations: 211.8 kB / 23.01 MB, free: 4.965 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 2.946/2.946, allocations: 0.49 GB / 0.7958 GB, free: 35.39 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.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.82e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002711/0.002739, allocations: 1.593 MB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0008725/0.003612, allocations: 480.4 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.649e-05/0.003678, allocations: 0.8438 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.00371, allocations: 4.562 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.003782, allocations: 18.11 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.004031, allocations: 46.12 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.004161, allocations: 85.27 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004286, allocations: 13.17 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.004453, allocations: 43.91 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.004534, allocations: 40.03 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.004555, allocations: 5.938 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.004603, allocations: 9.656 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001057/0.004709, allocations: 113.5 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.035e-05/0.004739, allocations: 62.88 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.004768, allocations: 5.031 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.086e-05/0.004779, allocations: 2.125 kB / 1.157 GB, free: 23.59 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: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0005324/0.005312, allocations: 439.4 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.893e-05/0.005381, allocations: 56.89 kB / 1.158 GB, free: 23.13 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002899/0.005671, allocations: 278.6 kB / 1.158 GB, free: 22.96 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.098e-05/0.005762, allocations: 87.03 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004528/0.006214, allocations: 264 kB / 1.159 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.602e-05/0.00629, allocations: 91.06 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.5e-05/0.006335, allocations: 65.48 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001979/0.006533, allocations: 152.2 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001149/0.006648, allocations: 42.94 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001704/0.006819, allocations: 122.2 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003488/0.007167, allocations: 202.8 kB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001952/0.007363, allocations: 219 kB / 1.159 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002117/0.007574, allocations: 169.3 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002566/0.007831, allocations: 307 kB / 1.16 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.652e-05/0.007847, allocations: 12.91 kB / 1.16 GB, free: 21.72 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.552e-05/0.007893, allocations: 49.67 kB / 1.16 GB, free: 21.69 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003999/0.008293, allocations: 260.4 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.314e-05/0.008306, allocations: 6.156 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.008306, allocations: 1.125 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.52e-06/0.008312, allocations: 4 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.739e-06/0.008317, allocations: 10.59 kB / 1.16 GB, free: 21.61 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.659e-06/0.008326, allocations: 5.219 kB / 1.16 GB, free: 21.61 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001588/0.008485, allocations: 85.17 kB / 1.16 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001892/0.008674, allocations: 236.3 kB / 1.16 GB, free: 21.36 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: ............... 1 * 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: ............................. 1 (1) {soc.SOC} * Number of discrete states: .................... 2 (2) {soc.charged, soc.discharged} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {soc.suspend, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 16 (scalar:16, 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: Performance of backend: time 4.379e-05/0.008718, allocations: 25.38 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005971/0.009315, allocations: 318.8 kB / 1.161 GB, free: 21.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.004105/0.01342, allocations: 0.9796 MB / 1.162 GB, free: 21.02 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_StateOfCharge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.921709710266441]