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.001367/0.001367, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001484/0.001484, allocations: 212 kB / 23 MB, free: 4.934 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.785 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.503/3.503, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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: 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.002048/0.002048, allocations: 67.56 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4371, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001915/0.4391, allocations: 0.6162 MB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.4414, allocations: 1.436 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.4414, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.4415, allocations: 3.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.4415, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.442, allocations: 143.4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.4421, allocations: 27.97 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.4422, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.4422, allocations: 27.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.4423, allocations: 19.97 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.4423, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.4428, allocations: 263.5 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.4428, allocations: 7.922 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.4428, allocations: 15.98 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.4431, allocations: 179.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4432, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4432, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4432, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 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.0005832/0.4437, allocations: 290 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4438, allocations: 12.03 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.4443, allocations: 64.84 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4444, allocations: 110.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.4445, allocations: 384 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.4445, allocations: 12.36 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.4448, allocations: 99.66 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4448, allocations: 4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4448, allocations: 3.984 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4448, allocations: 3.938 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.4451, allocations: 67.92 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.4453, allocations: 105.3 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.446, allocations: 118.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4461, allocations: 44.91 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.4466, allocations: 83.84 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4466, allocations: 30.56 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4466, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.001205/0.4478, allocations: 337 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4478, allocations: 51.41 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.4479, allocations: 97.86 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.448, allocations: 25.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.448, allocations: 80.14 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.448, allocations: 19.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.4481, allocations: 21.72 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4482, allocations: 318.8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4484, allocations: 35.97 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4485, allocations: 39.91 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.4488, allocations: 76.98 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4488, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003618/0.4492, allocations: 113.6 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4492, allocations: 8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4492, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4492, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.4494, allocations: 23.97 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4494, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.4495, allocations: 7.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4495, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 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 0.0001028/0.4496, allocations: 117.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.4496, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.4501, allocations: 137.2 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4501, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4501, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.4502, allocations: 11.94 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4502, allocations: 8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4503, allocations: 11.98 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.4503, allocations: 7.984 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005102/0.4508, allocations: 200.9 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006497/0.4515, allocations: 338.8 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001813/0.4517, allocations: 44.05 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.4517, allocations: 83.22 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.4517, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007213/0.4524, allocations: 170.9 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005457/0.453, allocations: 0.5729 MB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of Templates: time 0.00511/0.4581, allocations: 1.82 MB / 1.335 GB, free: 8.168 MB / 1.029 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/jenkins1/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.618655357000534]