Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001821/0.001821, 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.002099/0.002099, allocations: 219.4 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.471/1.471, allocations: 230.7 MB / 256.9 MB, free: 7.723 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.327/3.327, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/1.928e-05, allocations: 2.281 kB / 1.187 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001758/0.001777, allocations: 0.6122 MB / 1.188 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.00369, allocations: 1.377 MB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.003719, allocations: 1.062 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.354e-05/0.003783, allocations: 5.688 kB / 1.189 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.003827, allocations: 5.438 kB / 1.189 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.004563, allocations: 183.3 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.004692, allocations: 52.69 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.004732, allocations: 2.75 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.004782, allocations: 22.89 kB / 1.189 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.004843, allocations: 24 kB / 1.189 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.004858, allocations: 8 kB / 1.189 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.005235, allocations: 214.2 kB / 1.19 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.73e-05/0.005322, allocations: 71.5 kB / 1.19 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.068e-05/0.005343, allocations: 31.28 kB / 1.19 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.005365, allocations: 2.281 kB / 1.19 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.165e-06/0.005373, allocations: 5.125 kB / 1.19 GB, free: 11.82 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.0005308/0.005904, allocations: 358.7 kB / 1.19 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.83e-05/0.005952, allocations: 31.8 kB / 1.19 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002031/0.006155, allocations: 217.7 kB / 1.19 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001196/0.006275, allocations: 107.1 kB / 1.19 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000126/0.006401, allocations: 139 kB / 1.191 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.825e-05/0.006499, allocations: 110.1 kB / 1.191 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.241e-05/0.006591, allocations: 82.02 kB / 1.191 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001247/0.006716, allocations: 128.1 kB / 1.191 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.577e-05/0.006792, allocations: 25.94 kB / 1.191 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001436/0.006935, allocations: 82.59 kB / 1.191 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002084/0.007144, allocations: 58.7 kB / 1.191 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001866/0.00733, allocations: 192.4 kB / 1.191 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002077/0.007538, allocations: 184.1 kB / 1.191 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002973/0.007835, allocations: 279.9 kB / 1.192 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.498e-06/0.007845, allocations: 10.56 kB / 1.192 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.855e-05/0.007903, allocations: 49.48 kB / 1.192 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000244/0.008147, allocations: 194.1 kB / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.751e-05/0.008165, allocations: 5.469 kB / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.008165, allocations: 0 / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.496e-05/0.00818, allocations: 10.95 kB / 1.192 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.647e-06/0.008184, allocations: 0 / 1.192 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.563e-06/0.008185, allocations: 1.125 kB / 1.192 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.273e-06/0.008193, allocations: 5.062 kB / 1.192 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.585e-05/0.008239, allocations: 6.453 kB / 1.192 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.765e-06/0.008246, allocations: 4 kB / 1.192 GB, free: 10.18 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.988e-05/0.008286, allocations: 18 kB / 1.192 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001033/0.009319, allocations: 0.4896 MB / 1.192 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of Templates: time 0.004762/0.01408, allocations: 1.609 MB / 1.194 GB, free: 9.766 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.757826189044863]