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.002001/0.002001, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002417/0.002417, allocations: 217.6 kB / 22.26 MB, free: 5.078 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.992 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.926/2.926, allocations: 476.7 MB / 0.7707 GB, free: 4.25 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [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.002099/0.002099, allocations: 67.81 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3584, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001792/0.3601, allocations: 0.6402 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3623, allocations: 1.515 MB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.3623, allocations: 8 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.3623, allocations: 3.938 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.3624, allocations: 7.922 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.3629, allocations: 115.5 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.3629, allocations: 39.89 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.363, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.363, allocations: 23.86 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.3631, allocations: 15.92 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3631, allocations: 4 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006697/0.3638, allocations: 315.4 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.3638, allocations: 7.984 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.3638, allocations: 15.88 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.3643, allocations: 187.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3643, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3643, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3643, allocations: 4 kB / 1.286 GB, free: 8.773 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.0006455/0.3649, allocations: 309.8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.365, allocations: 8.031 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.365, allocations: 38.69 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.3656, allocations: 56.86 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3658, allocations: 122.5 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3658, allocations: 4.312 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3658, allocations: 384 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.3662, allocations: 81.77 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3662, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3662, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3662, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.3667, allocations: 71.91 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.367, allocations: 140.7 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.3678, allocations: 126.4 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.368, allocations: 48.88 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3681, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.3681, allocations: 38.5 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3681, allocations: 0 / 1.287 GB, free: 7.613 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.005948/0.3741, allocations: 0.7957 MB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3741, allocations: 51.41 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3743, allocations: 109.8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3743, allocations: 25.7 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.3744, allocations: 92.12 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.3744, allocations: 27.75 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.3745, allocations: 29.7 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3747, allocations: 318.8 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.3753, allocations: 91.91 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.376, allocations: 99.83 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.3772, allocations: 200.9 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3772, allocations: 3.938 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001352/0.3785, allocations: 237.4 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3785, allocations: 10.81 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3785, allocations: 4 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3786, allocations: 0 / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.379, allocations: 51.94 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.379, allocations: 0 / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.3794, allocations: 39.95 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3794, allocations: 8.297 kB / 1.289 GB, free: 5.387 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.0001389/0.3795, allocations: 113.8 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3796, allocations: 4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.3796, allocations: 20.31 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3796, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3796, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3796, allocations: 3.984 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.3822, allocations: 0.573 MB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3822, allocations: 4 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.3826, allocations: 47.94 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.3826, allocations: 12 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3826, allocations: 7.984 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.3826, allocations: 7.938 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.3826, allocations: 3.938 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3841, allocations: 345 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.3841, allocations: 3.953 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.3841, allocations: 4 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.3845, allocations: 35.95 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.3845, allocations: 19.91 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3846, allocations: 8.359 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.935e-05/0.3846, allocations: 87.28 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3846, allocations: 192 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005216/0.3852, allocations: 39.86 kB / 1.291 GB, free: 3.973 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.002045/0.3872, allocations: 0.8973 MB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.3886, allocations: 211.7 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3886, allocations: 0 / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.3893, allocations: 108 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3897, allocations: 3.938 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.3967, allocations: 2.128 MB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.3972, allocations: 0.6885 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.3973, allocations: 16.67 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3974, allocations: 31.41 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/0.3974, allocations: 288 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.4358, allocations: 2.893 MB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 6.516 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/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] "Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.311101580000468]