Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001555/0.001555, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001661/0.001661, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.965 MB / 190.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 2.721/2.721, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002075/0.002075, allocations: 63.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7832, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001676/0.7849, allocations: 0.7834 MB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.7862, allocations: 1.452 MB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.7863, allocations: 4 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.7863, allocations: 3.938 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.7863, allocations: 0 / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.7868, allocations: 149.4 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.7868, allocations: 47.83 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.7869, allocations: 8.438 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.7869, allocations: 30.95 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.787, allocations: 30.3 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.787, allocations: 5.344 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.7873, allocations: 248.2 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.7874, allocations: 9.922 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.7874, allocations: 25.06 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.7876, allocations: 202.7 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7876, allocations: 0 / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7876, allocations: 4 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.7877, allocations: 3.938 kB / 1.157 GB, free: 31.56 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005431/0.7882, allocations: 325.8 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.7882, allocations: 8.719 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.7887, allocations: 74.44 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.77e-05/0.7887, allocations: 109 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.7888, allocations: 7.438 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.7888, allocations: 7.266 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.7892, allocations: 165.5 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7892, allocations: 0 / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.7892, allocations: 2.75 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7892, allocations: 0 / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.7897, allocations: 108.5 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.7901, allocations: 267.4 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.7908, allocations: 173.1 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.791, allocations: 49.05 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.791, allocations: 0 / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.791, allocations: 37.03 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.791, allocations: 3.938 kB / 1.158 GB, free: 30.63 MB / 1.076 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.0185/0.8095, allocations: 2.684 MB / 1.161 GB, free: 29.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.8095, allocations: 55.41 kB / 1.161 GB, free: 29.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.8096, allocations: 103.1 kB / 1.161 GB, free: 29.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.8096, allocations: 29.7 kB / 1.161 GB, free: 29.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.8096, allocations: 87.09 kB / 1.161 GB, free: 29.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.8097, allocations: 44.83 kB / 1.161 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.8098, allocations: 64.48 kB / 1.161 GB, free: 29.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.8099, allocations: 324.7 kB / 1.161 GB, free: 29.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.8105, allocations: 192.1 kB / 1.162 GB, free: 29.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.8111, allocations: 196 kB / 1.162 GB, free: 29.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.8125, allocations: 391.9 kB / 1.162 GB, free: 29.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.8125, allocations: 0 / 1.162 GB, free: 29.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001537/0.814, allocations: 476.7 kB / 1.163 GB, free: 28.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.814, allocations: 4.562 kB / 1.163 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.814, allocations: 0 / 1.163 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8141, allocations: 2.219 kB / 1.163 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.8149, allocations: 110.3 kB / 1.163 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8149, allocations: 1.812 kB / 1.163 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.8156, allocations: 55.3 kB / 1.163 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.8156, allocations: 22 kB / 1.163 GB, free: 28.97 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 (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.0001061/0.8157, allocations: 115.4 kB / 1.163 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.8158, allocations: 3 kB / 1.163 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.8158, allocations: 15.31 kB / 1.163 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8158, allocations: 2.75 kB / 1.163 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8158, allocations: 0 / 1.163 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.8159, allocations: 3.938 kB / 1.163 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.8178, allocations: 0.9646 MB / 1.164 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8178, allocations: 3.422 kB / 1.164 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.8186, allocations: 106.5 kB / 1.164 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8186, allocations: 0 / 1.164 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.8187, allocations: 22.88 kB / 1.164 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8187, allocations: 7.172 kB / 1.164 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8187, allocations: 0 / 1.164 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.8208, allocations: 0.7943 MB / 1.165 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.8209, allocations: 42.59 kB / 1.165 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.821, allocations: 2.75 kB / 1.165 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/0.8217, allocations: 54.08 kB / 1.165 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.8218, allocations: 28.61 kB / 1.165 GB, free: 27.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.8218, allocations: 27.23 kB / 1.165 GB, free: 27.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.11e-05/0.8218, allocations: 81.78 kB / 1.165 GB, free: 27.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8218, allocations: 0 / 1.165 GB, free: 27.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003544/0.8222, allocations: 49.16 kB / 1.165 GB, free: 27.79 MB / 1.076 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.0001446/0.8223, allocations: 113.8 kB / 1.165 GB, free: 27.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.8237, allocations: 424.2 kB / 1.166 GB, free: 27.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8237, allocations: 0 / 1.166 GB, free: 27.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.8244, allocations: 221.9 kB / 1.166 GB, free: 27.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.8247, allocations: 10.66 kB / 1.166 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.8288, allocations: 0.7604 MB / 1.167 GB, free: 27.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.8289, allocations: 79.88 kB / 1.167 GB, free: 27.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004487/0.8293, allocations: 91.38 kB / 1.167 GB, free: 27.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.8295, allocations: 52.52 kB / 1.167 GB, free: 27.18 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.8295, allocations: 0 / 1.167 GB, free: 27.18 MB / 1.076 GB Notification: Performance of Templates: time 0.00683/0.8364, allocations: 3.692 MB / 1.17 GB, free: 26.84 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.486976393032819]