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.001737/0.001737, 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.002059/0.002059, allocations: 214.6 kB / 22.25 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.789 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.243/3.243, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.00211/0.00211, allocations: 68.31 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3485, allocations: 176.1 MB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001729/0.3502, allocations: 0.6079 MB / 1.326 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3522, allocations: 1.435 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.3522, allocations: 8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.3522, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.3523, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.3528, allocations: 142.4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.3529, allocations: 31.97 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.3529, allocations: 4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.3529, allocations: 11.98 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.353, allocations: 27.91 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3531, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.3535, allocations: 247.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.3535, allocations: 11.98 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.3535, allocations: 19.91 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3538, allocations: 171.5 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3538, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3538, allocations: 7.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3538, allocations: 4 kB / 1.328 GB, free: 15.04 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.0005528/0.3544, allocations: 290.5 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3544, allocations: 8.031 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004634/0.3549, allocations: 64.86 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.355, allocations: 114.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.355, allocations: 384 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3551, allocations: 384 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.3554, allocations: 107.6 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3554, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3554, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3554, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3557, allocations: 71.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3559, allocations: 109.4 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.3565, allocations: 118.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3566, allocations: 48.97 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004291/0.3571, allocations: 75.91 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3571, allocations: 34.56 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3571, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.001155/0.3582, allocations: 333 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3583, allocations: 59.34 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.3584, allocations: 93.84 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3584, allocations: 29.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.3584, allocations: 84.27 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3585, allocations: 15.86 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.3585, allocations: 25.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3586, allocations: 310.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3588, allocations: 31.97 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.359, allocations: 39.97 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.3593, allocations: 88.92 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3593, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003647/0.3596, allocations: 109.6 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3597, allocations: 11.88 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3597, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3597, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3598, allocations: 23.97 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3598, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3599, allocations: 15.98 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3599, allocations: 11.98 kB / 1.33 GB, free: 12.55 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 8.784e-05/0.36, allocations: 105.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3601, allocations: 7.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.3605, allocations: 137.3 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3605, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3605, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3605, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.3607, allocations: 117.3 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3607, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3608, allocations: 19.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3608, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3608, allocations: 7.922 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3608, allocations: 7.938 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3608, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.3614, allocations: 189.2 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3615, allocations: 4.312 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3615, allocations: 7.938 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3616, allocations: 15.92 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.3617, allocations: 11.97 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.3617, allocations: 4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.3617, allocations: 75.34 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3617, allocations: 4.094 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002407/0.362, allocations: 35.86 kB / 1.331 GB, free: 11.74 MB / 1.029 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.0002215/0.3622, allocations: 135 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.3626, allocations: 79.92 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3626, allocations: 4 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3627, allocations: 39.91 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.3629, allocations: 4 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.3636, allocations: 189.3 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.927e-05/0.3636, allocations: 67.34 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.773e-05/0.3637, allocations: 16 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.3637, allocations: 11.44 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3637, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of Templates: time 0.004075/0.3678, allocations: 1.194 MB / 1.333 GB, free: 9.957 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/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.01913825981319]