Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001644/0.001644, allocations: 104.3 kB / 19.71 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.001793/0.001793, allocations: 211.9 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.453/3.453, allocations: 0.49 GB / 0.7958 GB, free: 35.49 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.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.06e-05, allocations: 2.281 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001392/0.001413, allocations: 0.6177 MB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.002927, allocations: 1.431 MB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.002948, allocations: 1.031 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.002963, allocations: 5.031 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.002986, allocations: 0 / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.003429, allocations: 141.5 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.003487, allocations: 34.16 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.003522, allocations: 7.641 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.003559, allocations: 13.25 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.003611, allocations: 26.41 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003627, allocations: 3.438 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.003946, allocations: 255.8 kB / 1.158 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.818e-05/0.004005, allocations: 41.66 kB / 1.158 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.099e-05/0.004016, allocations: 21.8 kB / 1.158 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.118e-05/0.004027, allocations: 2.656 kB / 1.158 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.632e-06/0.004033, allocations: 1.125 kB / 1.158 GB, free: 23.62 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 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0003351/0.004369, allocations: 297.8 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.271e-05/0.004431, allocations: 56.06 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003473/0.004779, allocations: 322.8 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.096e-05/0.00486, allocations: 93.55 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0001063/0.004966, allocations: 138.8 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.067e-05/0.005036, allocations: 96.72 kB / 1.159 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.655e-05/0.005073, allocations: 52.16 kB / 1.159 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001433/0.005216, allocations: 132 kB / 1.159 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001042/0.005321, allocations: 45.86 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001593/0.00548, allocations: 110.9 kB / 1.159 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005417/0.006022, allocations: 401.8 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002071/0.006229, allocations: 211.6 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001646/0.006393, allocations: 162.5 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002959/0.006689, allocations: 336.9 kB / 1.16 GB, free: 21.9 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.55e-05/0.006705, allocations: 15.34 kB / 1.16 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.192e-05/0.006757, allocations: 43.34 kB / 1.16 GB, free: 21.87 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002754/0.007032, allocations: 186.8 kB / 1.16 GB, free: 21.81 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.655e-05/0.007049, allocations: 1.094 kB / 1.16 GB, free: 21.81 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.5e-07/0.007049, allocations: 5.062 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.787e-06/0.007053, allocations: 0 / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.396e-06/0.007056, allocations: 6.5 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.922e-06/0.007062, allocations: 0 / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000211/0.007273, allocations: 142.4 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001678/0.007441, allocations: 222.1 kB / 1.161 GB, free: 21.55 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) {y_comp} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $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: ........... 8 (scalar:8, 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: ........... 9 (scalar:9, 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 3.345e-05/0.007474, allocations: 23.92 kB / 1.161 GB, free: 21.53 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007184/0.008193, allocations: 460.4 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.004704/0.0129, allocations: 1.629 MB / 1.163 GB, free: 21.13 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.209947121329606]