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.001313/0.001313, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001466/0.001466, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.932/2.932, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.002046/0.002046, allocations: 65.86 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3278, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001897/0.3297, allocations: 0.6506 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3318, allocations: 1.522 MB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.3319, allocations: 0 / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.3319, allocations: 4 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.332, allocations: 3.938 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.3324, allocations: 123.5 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.3325, allocations: 23.97 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.3325, allocations: 8 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.3326, allocations: 15.88 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3326, allocations: 27.84 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3327, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.3332, allocations: 315.4 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.3332, allocations: 8 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.3332, allocations: 11.92 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3335, allocations: 191.4 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3335, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3336, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.3336, allocations: 0 / 1.287 GB, free: 8.262 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.0005416/0.3341, allocations: 317.7 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3341, allocations: 8.031 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.3345, allocations: 60.86 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3347, allocations: 122.5 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3347, allocations: 4.375 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3347, allocations: 4.375 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.335, allocations: 77.95 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.335, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.335, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.335, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.3354, allocations: 75.91 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.3356, allocations: 136.7 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.3361, allocations: 130.5 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.3363, allocations: 40.95 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3363, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3364, allocations: 34.5 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.3364, allocations: 0 / 1.288 GB, free: 7.148 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.004035/0.3404, allocations: 0.8012 MB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3404, allocations: 51.41 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3405, allocations: 113.8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3406, allocations: 29.64 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.3406, allocations: 88.14 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.3407, allocations: 31.73 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.3407, allocations: 25.7 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3409, allocations: 318.8 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.3413, allocations: 95.89 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3417, allocations: 103.8 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.3425, allocations: 188.7 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3425, allocations: 0 / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009034/0.3434, allocations: 249.3 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3434, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3434, allocations: 0 / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3434, allocations: 0 / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.3437, allocations: 55.94 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3437, allocations: 384 / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.344, allocations: 35.95 kB / 1.291 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.344, allocations: 4 kB / 1.291 GB, free: 4.918 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.0001126/0.3441, allocations: 121.8 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.3441, allocations: 3.938 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.3442, allocations: 20.31 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3442, allocations: 0 / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3442, allocations: 7.984 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3442, allocations: 0 / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3459, allocations: 0.5692 MB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3459, allocations: 4.062 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.3461, allocations: 51.94 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3462, allocations: 0 / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3462, allocations: 7.984 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.3462, allocations: 8.688 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3462, allocations: 0 / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.3471, allocations: 340.9 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.3471, allocations: 15.94 kB / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3472, allocations: 4 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3474, allocations: 35.89 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3475, allocations: 15.92 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3475, allocations: 8 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.3475, allocations: 91.27 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3475, allocations: 0 / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003179/0.3479, allocations: 43.86 kB / 1.292 GB, free: 3.496 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.0002282/0.3481, allocations: 127.1 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009028/0.349, allocations: 203.7 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.349, allocations: 0 / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.3494, allocations: 108 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3497, allocations: 11.98 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3512, allocations: 431.8 kB / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3515, allocations: 0.6846 MB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.3516, allocations: 23.36 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3516, allocations: 288 / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of Templates: time 0.003498/0.3551, allocations: 1.42 MB / 1.295 GB, free: 444 kB / 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/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.481706251011929]