Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001544/0.001544, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001664/0.001664, allocations: 216.2 kB / 23.07 MB, free: 4.844 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.399/1.399, allocations: 230.7 MB / 256.9 MB, free: 7.734 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.044/3.044, allocations: 0.4893 GB / 0.7952 GB, free: 35.68 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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.725e-05, allocations: 2.281 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001408/0.001425, allocations: 0.6212 MB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.002935, allocations: 1.381 MB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.002957, allocations: 0.9062 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.003008, allocations: 5.719 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.003045, allocations: 4.609 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.003609, allocations: 183.8 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.00372, allocations: 54.45 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.003758, allocations: 9.828 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.003787, allocations: 18.05 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003837, allocations: 25.03 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.003853, allocations: 2.594 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.004142, allocations: 214.7 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.338e-05/0.004206, allocations: 69.5 kB / 1.157 GB, free: 24.01 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.514e-05/0.004221, allocations: 30.86 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.004238, allocations: 1.656 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.013e-06/0.004245, allocations: 1.188 kB / 1.157 GB, free: 23.99 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: 4 (1) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0003682/0.004613, allocations: 361.1 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.987e-05/0.004653, allocations: 34.47 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001724/0.004825, allocations: 208.4 kB / 1.158 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.774e-05/0.004923, allocations: 117.9 kB / 1.158 GB, free: 23.37 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 9.405e-05/0.005017, allocations: 135.7 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.551e-05/0.005092, allocations: 110.9 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.862e-05/0.005151, allocations: 79.06 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 9.245e-05/0.005243, allocations: 124.1 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.526e-05/0.005309, allocations: 25.64 kB / 1.158 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001151/0.005424, allocations: 82.98 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001623/0.005586, allocations: 61.64 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001716/0.005758, allocations: 187.9 kB / 1.158 GB, free: 22.76 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001789/0.005937, allocations: 183.1 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002409/0.006177, allocations: 282.8 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.835e-06/0.006185, allocations: 10.69 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.751e-05/0.006233, allocations: 46.16 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002151/0.006448, allocations: 208.8 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.137e-06/0.006457, allocations: 1 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.006457, allocations: 0 / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.198e-05/0.006469, allocations: 14.84 kB / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.006473, allocations: 0 / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.374e-06/0.006475, allocations: 3.562 kB / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.901e-06/0.006481, allocations: 5.781 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.073e-05/0.006522, allocations: 5.547 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.352e-06/0.006528, allocations: 0 / 1.159 GB, free: 22.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: ............... 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: ................. 4 (2) {i, $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: ........... 0 (scalar:0, 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: [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: ............ 2 (algorithm:2, 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 3.138e-05/0.006559, allocations: 32.27 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007801/0.007339, allocations: 0.49 MB / 1.16 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.004176/0.01152, allocations: 1.598 MB / 1.161 GB, free: 21.94 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y,yMonotone Variables in the result:dMonotone[1],dMonotone[2],dMonotone[3],dMonotone[4],d[1],d[2],d[3],d[4],ensureMonotonicity,time,xd[1],xd[2],xd[3],xd[4],y,yMonotone,yd[1],yd[2],yd[3],yd[4] [Calling sys.exit(0), Time elapsed: 8.054711468052119]