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.001807/0.001807, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002186/0.002186, allocations: 162.8 kB / 23.01 MB, free: 4.598 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.926 MB / 190.1 MB " [Timeout remaining time 179] 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.599/2.599, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] 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.00219/0.00219, allocations: 66.41 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2791, allocations: 169.9 MB / 1.117 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001863/0.281, allocations: 0.6177 MB / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.2831, allocations: 1.42 MB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.2831, allocations: 4 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.2831, allocations: 0 / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.2831, allocations: 3.938 kB / 1.119 GB, free: 456 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2836, allocations: 143.4 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.2837, allocations: 27.97 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.2837, allocations: 4 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.2838, allocations: 15.98 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.2839, allocations: 27.89 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2839, allocations: 0 / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.2843, allocations: 251.5 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.2843, allocations: 8 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2844, allocations: 15.92 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.2847, allocations: 171.5 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2847, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2847, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2847, allocations: 4 kB / 1.12 GB, free: 15.79 MB / 1.076 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.0005219/0.2852, allocations: 293.9 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2852, allocations: 8.031 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.2858, allocations: 68.84 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2859, allocations: 114.5 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2859, allocations: 384 / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2859, allocations: 4.375 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2862, allocations: 103.6 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2862, allocations: 0 / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2862, allocations: 4 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2862, allocations: 0 / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.2865, allocations: 59.94 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2867, allocations: 117.2 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.2873, allocations: 126.5 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2875, allocations: 44.98 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.288, allocations: 75.91 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.288, allocations: 38.55 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.288, allocations: 0 / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.001205/0.2892, allocations: 333.2 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.2893, allocations: 55.41 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.2893, allocations: 93.86 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.2894, allocations: 29.7 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.2894, allocations: 80.14 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2894, allocations: 19.84 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.2895, allocations: 17.72 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2896, allocations: 314.8 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2898, allocations: 40.08 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.29, allocations: 35.97 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.2903, allocations: 84.92 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2903, allocations: 3.938 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003951/0.2907, allocations: 117.6 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2907, allocations: 7.938 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2907, allocations: 0 / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2908, allocations: 0 / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2909, allocations: 23.98 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2909, allocations: 0 / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.291, allocations: 11.98 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2911, allocations: 7.984 kB / 1.122 GB, free: 13.3 MB / 1.076 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 9.127e-05/0.2911, allocations: 113.8 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.2912, allocations: 7.938 kB / 1.122 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.2917, allocations: 137.4 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2917, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2917, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2917, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2918, allocations: 113.3 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2918, allocations: 0 / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.292, allocations: 31.97 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.292, allocations: 0 / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.292, allocations: 3.938 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.292, allocations: 3.938 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.292, allocations: 4 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.2926, allocations: 177 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.2927, allocations: 12.2 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2927, allocations: 7.938 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2928, allocations: 20.05 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.2928, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2929, allocations: 7.984 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.2929, allocations: 75.28 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2929, allocations: 0 / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002428/0.2931, allocations: 31.94 kB / 1.123 GB, free: 12.5 MB / 1.076 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.0002008/0.2933, allocations: 123.1 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.2937, allocations: 83.95 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2937, allocations: 3.938 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.2939, allocations: 47.95 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2941, allocations: 8 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.2947, allocations: 193.2 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.2948, allocations: 63.3 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.2949, allocations: 19.97 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.295, allocations: 12.5 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.295, allocations: 4 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of Templates: time 0.0039/0.2989, allocations: 1.178 MB / 1.125 GB, free: 10.72 MB / 1.076 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 -s ida -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/jenkins1/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: 7.92375960201025]