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.001735/0.001735, 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.00213/0.00213, allocations: 212.4 kB / 22.24 MB, free: 4.855 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.805 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.866/2.866, allocations: 476 MB / 0.7699 GB, free: 4.926 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.002076/0.002076, allocations: 69.56 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00223/0.3212, allocations: 0.6313 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.3236, allocations: 1.431 MB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.3236, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.3236, allocations: 3.938 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.3237, allocations: 11.92 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.3243, allocations: 119.5 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.3243, allocations: 23.97 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.3244, allocations: 4 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.3244, allocations: 19.86 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.3245, allocations: 15.92 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3245, allocations: 4 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.325, allocations: 247.5 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.325, allocations: 11.92 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.3251, allocations: 7.938 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.3254, allocations: 175.5 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3254, allocations: 7.984 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3254, allocations: 0 / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.3254, allocations: 0 / 1.286 GB, free: 9.195 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.0005685/0.326, allocations: 304.1 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.326, allocations: 8.031 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/0.3264, allocations: 64.81 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3266, allocations: 134.3 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3266, allocations: 4.375 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3267, allocations: 384 / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.327, allocations: 83.66 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.327, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.327, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.327, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.3274, allocations: 71.92 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.3276, allocations: 113.4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.3282, allocations: 122.4 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.3284, allocations: 44.94 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3284, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3284, allocations: 34.56 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3284, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 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.004284/0.3327, allocations: 0.7833 MB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3327, allocations: 63.48 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3329, allocations: 117.8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3329, allocations: 25.7 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.3329, allocations: 84.14 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.333, allocations: 31.7 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.3331, allocations: 25.7 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3332, allocations: 322.8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.3337, allocations: 95.89 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.3341, allocations: 95.91 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.335, allocations: 196.6 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.335, allocations: 0.75 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009664/0.336, allocations: 245.4 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.336, allocations: 8 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.336, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.336, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.3363, allocations: 55.94 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3363, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3366, allocations: 35.95 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3366, allocations: 11.98 kB / 1.289 GB, free: 5.895 MB / 0.9825 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.0001125/0.3367, allocations: 117.8 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3367, allocations: 7.891 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.3368, allocations: 20.36 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3368, allocations: 288 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3368, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3368, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3386, allocations: 0.5423 MB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3386, allocations: 4 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3389, allocations: 51.94 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.3389, allocations: 4 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3389, allocations: 4.062 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3389, allocations: 4 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3389, allocations: 0 / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3399, allocations: 348.8 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.3399, allocations: 7.984 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.34, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3402, allocations: 35.95 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.3403, allocations: 15.98 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3403, allocations: 4 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.3404, allocations: 95.59 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3404, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003123/0.3407, allocations: 35.88 kB / 1.29 GB, free: 4.535 MB / 0.9825 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.0002342/0.3409, allocations: 131.1 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000963/0.3419, allocations: 204 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3419, allocations: 4 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.3423, allocations: 111.9 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3426, allocations: 9.875 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3442, allocations: 402.1 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.397e-05/0.3443, allocations: 71.25 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.3444, allocations: 32.81 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.3445, allocations: 19.42 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3445, allocations: 0 / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of Templates: time 0.00529/0.3498, allocations: 1.768 MB / 1.293 GB, free: 1.758 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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.919057000428438]