Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001439/0.001439, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001704/0.001704, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.923/2.923, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 65.3 kB / 1.118 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3967, allocations: 169.9 MB / 1.284 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001866/0.3986, allocations: 0.6243 MB / 1.284 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.4008, allocations: 1.515 MB / 1.286 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.4008, allocations: 0 / 1.286 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.4009, allocations: 3.938 kB / 1.286 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.4009, allocations: 0 / 1.286 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.4014, allocations: 148.7 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.4015, allocations: 27.97 kB / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.4015, allocations: 0 / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.4016, allocations: 19.98 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.4016, allocations: 27.91 kB / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4017, allocations: 4 kB / 1.286 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.4022, allocations: 319.4 kB / 1.286 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.4022, allocations: 3.984 kB / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.4022, allocations: 19.91 kB / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.4025, allocations: 187.5 kB / 1.287 GB, free: 380 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4025, allocations: 3.938 kB / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4025, allocations: 3.938 kB / 1.287 GB, free: 372 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.4025, allocations: 0 / 1.287 GB, free: 372 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005705/0.4031, allocations: 294 kB / 1.287 GB, free: 48 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4031, allocations: 8.031 kB / 1.287 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.4036, allocations: 68.81 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4037, allocations: 110.5 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.4038, allocations: 4.375 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4038, allocations: 384 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.4041, allocations: 77.95 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4041, allocations: 0 / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4041, allocations: 0 / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4041, allocations: 0 / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.4044, allocations: 71.86 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.4046, allocations: 136.8 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.4052, allocations: 114.5 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4054, allocations: 52.89 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.4058, allocations: 71.91 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4058, allocations: 46.44 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4058, allocations: 0 / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.001155/0.407, allocations: 333 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.407, allocations: 51.41 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.4071, allocations: 97.84 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4071, allocations: 29.64 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.4072, allocations: 84.14 kB / 1.288 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4072, allocations: 15.86 kB / 1.288 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.4073, allocations: 21.7 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4074, allocations: 311 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4076, allocations: 39.97 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4077, allocations: 31.97 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.408, allocations: 84.73 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.408, allocations: 0 / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003555/0.4084, allocations: 117.8 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4084, allocations: 4 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4084, allocations: 0 / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4084, allocations: 4 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4085, allocations: 27.91 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4085, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.4086, allocations: 15.98 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4087, allocations: 4 kB / 1.289 GB, free: 13.87 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.727e-05/0.4087, allocations: 109.8 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.4088, allocations: 7.938 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.4092, allocations: 133.3 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4092, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4092, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4092, allocations: 3.938 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.4094, allocations: 140.7 kB / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4094, allocations: 0 / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.4095, allocations: 27.91 kB / 1.289 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4095, allocations: 0 / 1.289 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4095, allocations: 8 kB / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4095, allocations: 0 / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4095, allocations: 0 / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.4101, allocations: 181 kB / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.4102, allocations: 11.95 kB / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4102, allocations: 4 kB / 1.29 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4103, allocations: 23.91 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.4103, allocations: 0 / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.4104, allocations: 8.125 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.4104, allocations: 83.33 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4104, allocations: 0 / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002361/0.4106, allocations: 31.88 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.4108, allocations: 131 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.4112, allocations: 88.02 kB / 1.29 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4112, allocations: 0 / 1.29 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.4114, allocations: 47.91 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.4116, allocations: 11.98 kB / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.4123, allocations: 173.4 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4126, allocations: 0.6807 MB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.917e-05/0.4127, allocations: 16 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.4128, allocations: 15.42 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.4128, allocations: 0 / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.004205/0.417, allocations: 1.186 MB / 1.292 GB, free: 10.64 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.967761649284512]