Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001847/0.001847, allocations: 114.5 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.002261/0.002261, allocations: 217 kB / 22.25 MB, free: 5.082 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 76 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3782, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002635/0.3809, allocations: 0.6411 MB / 1.327 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3834, allocations: 1.529 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.3834, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.3834, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.3835, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.3839, allocations: 127.5 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.384, allocations: 31.84 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.384, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.3841, allocations: 19.92 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.3842, allocations: 19.84 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3842, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.3847, allocations: 319.4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3847, allocations: 4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3848, allocations: 11.92 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.3851, allocations: 195.6 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3851, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3851, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3851, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 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.0005885/0.3857, allocations: 305.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3857, allocations: 12.03 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.3858, allocations: 34.73 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.3862, allocations: 60.86 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3863, allocations: 118.4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3864, allocations: 384 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.3864, allocations: 4.375 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.3867, allocations: 81.77 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3867, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3867, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3867, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.3871, allocations: 79.84 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.3873, allocations: 136.8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.3879, allocations: 126.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3881, allocations: 36.95 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3881, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3881, allocations: 42.48 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3881, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 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.004159/0.3923, allocations: 0.7857 MB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3923, allocations: 55.34 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3924, allocations: 113.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3924, allocations: 25.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.3925, allocations: 92.14 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.3926, allocations: 31.83 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.3926, allocations: 29.64 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3928, allocations: 318.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.3932, allocations: 95.84 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.3936, allocations: 103.9 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.3944, allocations: 188.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3944, allocations: 3.938 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009098/0.3953, allocations: 241.4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3953, allocations: 8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3953, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3954, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.3957, allocations: 51.94 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3957, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3959, allocations: 31.95 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3959, allocations: 11.98 kB / 1.332 GB, free: 11.61 MB / 1.029 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.0001008/0.396, allocations: 123.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.396, allocations: 0.75 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.3961, allocations: 20.36 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3961, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3961, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3961, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.3978, allocations: 0.5695 MB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3978, allocations: 4.281 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.3981, allocations: 59.94 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3981, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3981, allocations: 15.92 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3981, allocations: 80 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3981, allocations: 7.922 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.399, allocations: 341 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.3991, allocations: 11.89 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3991, allocations: 4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3993, allocations: 35.95 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.3994, allocations: 11.92 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3994, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.3995, allocations: 91.27 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3995, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003004/0.3998, allocations: 43.86 kB / 1.333 GB, free: 10.19 MB / 1.029 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.001399/0.4012, allocations: 0.8896 MB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000934/0.4021, allocations: 207.7 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4021, allocations: 0 / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.4025, allocations: 111.9 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.4028, allocations: 13.31 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.4077, allocations: 2.133 MB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.408, allocations: 0.6885 MB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.4081, allocations: 20.61 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4082, allocations: 27.42 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4082, allocations: 4 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.4395, allocations: 2.889 MB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 0 / 1.34 GB, free: 3.195 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.527094727000076]