Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001911/0.001911, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002474/0.002474, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.82 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.982/2.982, allocations: 476 MB / 0.7699 GB, free: 4.781 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.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_11_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_11_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.002155/0.002155, allocations: 65.56 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002192/0.3371, allocations: 0.7822 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3391, allocations: 1.449 MB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.3391, allocations: 4 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.3392, allocations: 3.938 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.3392, allocations: 3.938 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.3397, allocations: 155.4 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.3398, allocations: 43.91 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.3399, allocations: 4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.3399, allocations: 31.84 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.34, allocations: 27.91 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.34, allocations: 4 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.3404, allocations: 255.5 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.3405, allocations: 15.92 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.3405, allocations: 19.92 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.3408, allocations: 207.4 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3408, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3408, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3408, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 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.0006605/0.3415, allocations: 329.8 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3415, allocations: 8.031 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.342, allocations: 76.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3421, allocations: 114.5 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3421, allocations: 8.312 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3422, allocations: 8.375 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.3426, allocations: 158.2 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3426, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3426, allocations: 4 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3426, allocations: 11.98 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.3431, allocations: 103.9 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.3437, allocations: 276.2 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.3443, allocations: 150.4 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.3446, allocations: 52.81 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3446, allocations: 4 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3446, allocations: 34.56 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3446, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 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.01809/0.3627, allocations: 2.684 MB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3628, allocations: 51.41 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3629, allocations: 109.8 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.3629, allocations: 29.64 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.363, allocations: 92.09 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.3631, allocations: 43.64 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.3633, allocations: 65.58 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3634, allocations: 322.8 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/0.3641, allocations: 187.8 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.3648, allocations: 191.8 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.3661, allocations: 397.8 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3661, allocations: 0 / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001612/0.3678, allocations: 473.2 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3678, allocations: 11.94 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3678, allocations: 0 / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3678, allocations: 0 / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.3686, allocations: 107.8 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3687, allocations: 0 / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.3693, allocations: 55.88 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.3693, allocations: 19.94 kB / 1.292 GB, free: 2.641 MB / 0.9825 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.0001865/0.3695, allocations: 117.8 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.3696, allocations: 11.95 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.3697, allocations: 16.05 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3697, allocations: 4 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3697, allocations: 0 / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3697, allocations: 3.938 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.3721, allocations: 0.949 MB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3721, allocations: 4 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.3729, allocations: 107.7 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3729, allocations: 0 / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.373, allocations: 23.94 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.373, allocations: 11.94 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.373, allocations: 4 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.3755, allocations: 0.7905 MB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.3756, allocations: 43.89 kB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.3757, allocations: 4 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.3764, allocations: 51.92 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.3765, allocations: 27.92 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.3765, allocations: 24.12 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.3766, allocations: 87.2 kB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3766, allocations: 0 / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003746/0.377, allocations: 63.92 kB / 1.294 GB, free: 192 kB / 0.9825 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.000224/0.3772, allocations: 103.2 kB / 1.294 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.3787, allocations: 415.6 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3787, allocations: 0 / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.3795, allocations: 235.6 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3798, allocations: 11.36 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.384, allocations: 0.7594 MB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.3841, allocations: 83.33 kB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005392/0.3847, allocations: 92.67 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.3849, allocations: 55.3 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3849, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of Templates: time 0.007622/0.3926, allocations: 3.721 MB / 1.3 GB, free: 10.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.19120280072093]