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.001693/0.001693, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.002014/0.002014, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.608/2.608, 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.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.002123/0.002123, allocations: 63.91 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2839, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001752/0.2857, allocations: 0.6403 MB / 1.118 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2876, allocations: 1.427 MB / 1.119 GB, free: 444 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.2877, allocations: 0 / 1.119 GB, free: 444 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.2877, allocations: 3.938 kB / 1.12 GB, free: 440 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.2877, allocations: 15.86 kB / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.2882, allocations: 123.5 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.2883, allocations: 27.92 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.2883, allocations: 3.938 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.2883, allocations: 19.86 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.2884, allocations: 15.92 kB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2884, allocations: 4 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.2889, allocations: 251.5 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.2889, allocations: 3.984 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2889, allocations: 15.88 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.2892, allocations: 175.5 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2892, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2892, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2892, allocations: 0 / 1.12 GB, free: 15.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005228/0.2898, allocations: 305.8 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2898, allocations: 12.03 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.2902, allocations: 56.86 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2903, allocations: 118.4 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2903, allocations: 8.359 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2904, allocations: 384 / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2906, allocations: 81.89 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2907, allocations: 0 / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2907, allocations: 0 / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2907, allocations: 4 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.2911, allocations: 71.92 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.2912, allocations: 113.2 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.2918, allocations: 126.5 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.292, allocations: 44.94 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.292, allocations: 4 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2921, allocations: 30.56 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2921, allocations: 0 / 1.121 GB, free: 14.71 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=9): time 0.004382/0.2965, allocations: 0.7896 MB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.2965, allocations: 59.34 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2966, allocations: 117.8 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2966, allocations: 29.69 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.2967, allocations: 88.14 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.2967, allocations: 23.75 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.2968, allocations: 29.7 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2969, allocations: 314.8 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.2974, allocations: 99.98 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.2979, allocations: 103.8 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.2988, allocations: 193.4 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2988, allocations: 0 / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009857/0.2997, allocations: 245.4 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2998, allocations: 11.12 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2998, allocations: 0 / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2998, allocations: 0 / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.3001, allocations: 55.88 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3001, allocations: 4 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.3003, allocations: 35.95 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3004, allocations: 4 kB / 1.123 GB, free: 12.48 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 (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 9.197e-05/0.3005, allocations: 113.8 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.3005, allocations: 11.94 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.3005, allocations: 16.42 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3005, allocations: 0 / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3005, allocations: 0 / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3005, allocations: 0 / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3023, allocations: 0.5423 MB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3023, allocations: 0 / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3026, allocations: 47.94 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3026, allocations: 4 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3026, allocations: 4.281 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3026, allocations: 8.062 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3026, allocations: 0 / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3036, allocations: 344.8 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.3036, allocations: 11.95 kB / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3036, allocations: 3.984 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3039, allocations: 39.95 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.304, allocations: 7.984 kB / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.304, allocations: 8 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.304, allocations: 103.1 kB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002999/0.3043, allocations: 31.94 kB / 1.124 GB, free: 11.12 MB / 1.076 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.0001865/0.3045, allocations: 127.1 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009906/0.3055, allocations: 215.7 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3055, allocations: 0 / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.306, allocations: 104 kB / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.3062, allocations: 8 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3078, allocations: 406.1 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.298e-05/0.3079, allocations: 71.28 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.553e-05/0.308, allocations: 24.72 kB / 1.125 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.3081, allocations: 16.78 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.3081, allocations: 0 / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of Templates: time 0.004679/0.3128, allocations: 1.764 MB / 1.127 GB, free: 8.352 MB / 1.076 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 -s ida -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: 8.106997666996904]