Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001803/0.001803, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002289/0.002289, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.796/2.796, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_11_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_11_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.002183/0.002183, allocations: 65.03 kB / 1.118 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3612, allocations: 169.9 MB / 1.284 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002091/0.3633, allocations: 0.6418 MB / 1.284 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.3656, allocations: 1.433 MB / 1.286 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.3656, allocations: 0 / 1.286 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.3657, allocations: 3.938 kB / 1.286 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.3657, allocations: 0 / 1.286 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.3662, allocations: 129.8 kB / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.3663, allocations: 35.86 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3664, allocations: 7.984 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.3664, allocations: 7.938 kB / 1.286 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.3665, allocations: 23.91 kB / 1.286 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3665, allocations: 0 / 1.286 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.3669, allocations: 247.5 kB / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.367, allocations: 3.938 kB / 1.286 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.367, allocations: 15.92 kB / 1.286 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3673, allocations: 183.4 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3673, allocations: 0 / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3673, allocations: 4 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3673, allocations: 0 / 1.286 GB, free: 0.918 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005728/0.3679, allocations: 303.9 kB / 1.287 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.368, allocations: 8.031 kB / 1.287 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.3684, allocations: 64.81 kB / 1.287 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3685, allocations: 122.4 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3686, allocations: 384 / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.3686, allocations: 4.375 kB / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.3689, allocations: 77.95 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3689, allocations: 7.875 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3689, allocations: 0 / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3689, allocations: 0 / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.3693, allocations: 75.92 kB / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.3694, allocations: 109.3 kB / 1.287 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.37, allocations: 126.5 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3702, allocations: 44.89 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3702, allocations: 0 / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.3703, allocations: 38.5 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3703, allocations: 0 / 1.287 GB, free: 15.85 MB / 0.9981 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.004308/0.3746, allocations: 0.7862 MB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.3746, allocations: 55.41 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3748, allocations: 113.8 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3748, allocations: 25.7 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.3748, allocations: 80.14 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.3749, allocations: 39.62 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.375, allocations: 29.7 kB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3751, allocations: 314.8 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.3756, allocations: 99.89 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.3761, allocations: 99.89 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.3769, allocations: 189 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3769, allocations: 192 / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009754/0.3779, allocations: 253.3 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3779, allocations: 8 kB / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3779, allocations: 0 / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3779, allocations: 0 / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.3783, allocations: 51.94 kB / 1.289 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3783, allocations: 7.938 kB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.3785, allocations: 31.95 kB / 1.29 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3785, allocations: 4 kB / 1.29 GB, free: 13.62 MB / 0.9981 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.0001095/0.3786, allocations: 117.8 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3787, allocations: 11.89 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.3787, allocations: 20.36 kB / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3787, allocations: 0 / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3787, allocations: 0 / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3787, allocations: 0 / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3806, allocations: 0.5307 MB / 1.29 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3806, allocations: 0 / 1.29 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.3809, allocations: 55.88 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3809, allocations: 8 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3809, allocations: 11.98 kB / 1.29 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3809, allocations: 0 / 1.29 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3809, allocations: 4 kB / 1.29 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3819, allocations: 340.9 kB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.3819, allocations: 4 kB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3819, allocations: 4 kB / 1.291 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3822, allocations: 35.95 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.3823, allocations: 7.984 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3823, allocations: 8 kB / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.3824, allocations: 99.58 kB / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3824, allocations: 0 / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003173/0.3827, allocations: 43.86 kB / 1.291 GB, free: 12.26 MB / 0.9981 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.0002521/0.3829, allocations: 131 kB / 1.291 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009931/0.3839, allocations: 207.8 kB / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3839, allocations: 0 / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.3844, allocations: 108 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.3846, allocations: 10.66 kB / 1.291 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3863, allocations: 428.2 kB / 1.292 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.3864, allocations: 71.25 kB / 1.292 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.3865, allocations: 23.42 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3865, allocations: 0 / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.003771/0.3902, allocations: 1.444 MB / 1.293 GB, free: 9.793 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.550578340888023]