Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.001407/0.001407, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001493/0.001493, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.793 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.326/3.326, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [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: 67.44 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3794, allocations: 176.1 MB / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002324/0.3817, allocations: 0.6332 MB / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3841, allocations: 1.439 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.3841, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.3841, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.3842, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.3847, allocations: 127.5 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.3848, allocations: 27.92 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.3849, allocations: 3.984 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.3849, allocations: 15.92 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.385, allocations: 19.91 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.385, allocations: 7.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.3855, allocations: 239.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.3855, allocations: 15.91 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.3856, allocations: 11.88 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.3859, allocations: 179.5 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3859, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000701/0.3866, allocations: 303.3 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3867, allocations: 12.03 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.3871, allocations: 56.86 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3872, allocations: 126.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3873, allocations: 4.375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3873, allocations: 4.312 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3876, allocations: 77.95 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3876, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3876, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3876, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.388, allocations: 75.86 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.3882, allocations: 109.3 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.3887, allocations: 126.5 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3889, allocations: 44.95 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3889, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.389, allocations: 30.56 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.389, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 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=9): time 0.004154/0.3931, allocations: 0.7953 MB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3932, allocations: 55.41 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3933, allocations: 109.8 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3933, allocations: 29.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.3934, allocations: 84.14 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.3934, allocations: 31.73 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.3935, allocations: 29.7 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3936, allocations: 310.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.3941, allocations: 99.83 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.3945, allocations: 112.1 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.3953, allocations: 188.7 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3953, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009342/0.3963, allocations: 253.3 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3963, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3963, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3963, allocations: 3.984 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.3966, allocations: 51.94 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3967, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3969, allocations: 35.95 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3969, allocations: 0 / 1.331 GB, free: 11.77 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 (9): * Single equations (assignments): 9 * 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.0001163/0.397, allocations: 120.9 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.397, allocations: 11.94 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.3971, allocations: 16.3 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3971, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3971, allocations: 4 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3971, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3989, allocations: 0.5385 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3989, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3992, allocations: 55.88 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3992, allocations: 0 / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3992, allocations: 16.05 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3992, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3992, allocations: 288 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.4002, allocations: 344.8 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.4002, allocations: 11.95 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.4003, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.4005, allocations: 39.95 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.4006, allocations: 7.984 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.4006, allocations: 8 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.4007, allocations: 95.2 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4007, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003192/0.401, allocations: 39.86 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002642/0.4012, allocations: 135 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.4022, allocations: 199.8 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4022, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.4027, allocations: 107.9 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4029, allocations: 8 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4045, allocations: 406.2 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.206e-05/0.4046, allocations: 67.34 kB / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.4047, allocations: 24.66 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.4048, allocations: 19.42 kB / 1.333 GB, free: 9.391 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4048, allocations: 3.938 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of Templates: time 0.005584/0.4104, allocations: 1.79 MB / 1.335 GB, free: 7.605 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.133623544126749]