Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.00164/0.00164, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001796/0.001796, allocations: 212.6 kB / 22.24 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.816 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.311/3.311, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002104/0.002104, allocations: 67.27 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002062/0.3842, allocations: 0.7738 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3862, allocations: 1.452 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.3862, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.3863, allocations: 3.938 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.3863, allocations: 7.922 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.3869, allocations: 147.5 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.387, allocations: 55.83 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.3871, allocations: 4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.3871, allocations: 27.91 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.3872, allocations: 27.91 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3872, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.3876, allocations: 251.5 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.3877, allocations: 19.92 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.3877, allocations: 23.91 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.388, allocations: 195.4 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.388, allocations: 3.938 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.388, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.388, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006468/0.3887, allocations: 325.8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3887, allocations: 16.02 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.3891, allocations: 68.81 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3893, allocations: 122.4 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3893, allocations: 4.375 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3893, allocations: 8.375 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.3897, allocations: 161.3 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3897, allocations: 0 / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3898, allocations: 4 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3898, allocations: 8 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.3902, allocations: 95.89 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.3908, allocations: 280.3 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.3915, allocations: 150.4 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.3917, allocations: 52.81 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3917, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3917, allocations: 46.5 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3917, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01761/0.4094, allocations: 2.684 MB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4094, allocations: 51.41 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.4095, allocations: 109.7 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.4095, allocations: 29.7 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.4096, allocations: 88.09 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.4097, allocations: 39.69 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.4098, allocations: 69.58 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.41, allocations: 318.8 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.4106, allocations: 187.8 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.4113, allocations: 191.8 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.4126, allocations: 403 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4126, allocations: 0 / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001541/0.4141, allocations: 477.5 kB / 1.373 GB, free: 4.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4142, allocations: 4 kB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4142, allocations: 4 kB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4142, allocations: 0 / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/0.415, allocations: 107.8 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.415, allocations: 96 / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.4156, allocations: 55.81 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.4157, allocations: 31.86 kB / 1.373 GB, free: 4.227 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0001491/0.4158, allocations: 113.8 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.4159, allocations: 7.953 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.416, allocations: 16.06 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.416, allocations: 0 / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.416, allocations: 0 / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.416, allocations: 3.938 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.4182, allocations: 0.9567 MB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4182, allocations: 0 / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/0.419, allocations: 111.8 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.419, allocations: 0 / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.4191, allocations: 23.94 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4191, allocations: 3.938 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4191, allocations: 0 / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.4214, allocations: 0.7996 MB / 1.375 GB, free: 2.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.4216, allocations: 43.89 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.4216, allocations: 0 / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.4223, allocations: 51.94 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.4224, allocations: 27.92 kB / 1.375 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.4224, allocations: 27.92 kB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.4225, allocations: 79.28 kB / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4225, allocations: 0 / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003618/0.4229, allocations: 55.94 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002127/0.4231, allocations: 111.2 kB / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.4245, allocations: 415.5 kB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4245, allocations: 0 / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007096/0.4252, allocations: 223.7 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.4256, allocations: 20 kB / 1.376 GB, free: 1.023 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.4297, allocations: 0.7554 MB / 1.377 GB, free: 248 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.4298, allocations: 75.33 kB / 1.377 GB, free: 152 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005228/0.4303, allocations: 92.66 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.4306, allocations: 55.31 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/0.4306, allocations: 0 / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of Templates: time 0.006929/0.4375, allocations: 3.722 MB / 1.38 GB, free: 12.3 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.042515255510807]