Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.002189/0.002189, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002641/0.002641, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.785 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.945/2.945, allocations: 476 MB / 0.7699 GB, free: 4.734 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.002154/0.002154, allocations: 69.14 kB / 1.117 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3669, allocations: 170 MB / 1.283 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002069/0.369, allocations: 0.7704 MB / 1.283 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.371, allocations: 1.464 MB / 1.285 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.3711, allocations: 0 / 1.285 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.3711, allocations: 7.922 kB / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.3712, allocations: 3.938 kB / 1.285 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.3717, allocations: 143.5 kB / 1.285 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.3718, allocations: 55.89 kB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.3718, allocations: 0 / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.3719, allocations: 27.91 kB / 1.285 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.372, allocations: 31.84 kB / 1.285 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.372, allocations: 4 kB / 1.285 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.3724, allocations: 251.5 kB / 1.285 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3725, allocations: 15.98 kB / 1.285 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.3725, allocations: 27.84 kB / 1.285 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.3728, allocations: 195.8 kB / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3728, allocations: 0 / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3728, allocations: 0 / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3728, allocations: 3.938 kB / 1.286 GB, free: 1.133 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006516/0.3735, allocations: 325.8 kB / 1.286 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3735, allocations: 8.031 kB / 1.286 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.3736, allocations: 38.75 kB / 1.286 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.374, allocations: 72.8 kB / 1.286 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3741, allocations: 118.4 kB / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3741, allocations: 8.375 kB / 1.286 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3742, allocations: 8.375 kB / 1.286 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.3746, allocations: 160.8 kB / 1.286 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3746, allocations: 3.984 kB / 1.286 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3746, allocations: 0 / 1.286 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3746, allocations: 11.94 kB / 1.286 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.3751, allocations: 91.91 kB / 1.286 GB, free: 232 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.3757, allocations: 307.7 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.3764, allocations: 150.5 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3766, allocations: 60.73 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3766, allocations: 0 / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.3767, allocations: 38.56 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.3767, allocations: 0 / 1.287 GB, free: 15.62 MB / 0.9981 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=11): time 0.0176/0.3943, allocations: 2.677 MB / 1.289 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.3943, allocations: 59.34 kB / 1.29 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3944, allocations: 97.86 kB / 1.29 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.3945, allocations: 25.7 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.3946, allocations: 100 kB / 1.29 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.3946, allocations: 43.64 kB / 1.29 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.3948, allocations: 69.58 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.395, allocations: 314.8 kB / 1.29 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.3957, allocations: 191.9 kB / 1.29 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.3963, allocations: 195.8 kB / 1.291 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.3977, allocations: 396.5 kB / 1.291 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3977, allocations: 0 / 1.291 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001552/0.3993, allocations: 469.2 kB / 1.291 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3993, allocations: 8 kB / 1.291 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3993, allocations: 4 kB / 1.291 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3993, allocations: 192 / 1.291 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.4002, allocations: 111.6 kB / 1.291 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4002, allocations: 4 kB / 1.291 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.4008, allocations: 47.94 kB / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.4008, allocations: 23.94 kB / 1.292 GB, free: 10.71 MB / 0.9981 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 (13): * Single equations (assignments): 13 * 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.0001602/0.401, allocations: 117.8 kB / 1.292 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.401, allocations: 7.938 kB / 1.292 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.4011, allocations: 20.06 kB / 1.292 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4011, allocations: 3.938 kB / 1.292 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4011, allocations: 4 kB / 1.292 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4011, allocations: 0 / 1.292 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4034, allocations: 0.9874 MB / 1.293 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4034, allocations: 0 / 1.293 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.4042, allocations: 111.7 kB / 1.293 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4042, allocations: 96 / 1.293 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.4043, allocations: 27.88 kB / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4043, allocations: 0 / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4043, allocations: 0 / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.4067, allocations: 0.801 MB / 1.294 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.4068, allocations: 43.83 kB / 1.294 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.4069, allocations: 4 kB / 1.294 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.4075, allocations: 48 kB / 1.294 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.4076, allocations: 27.91 kB / 1.294 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.4077, allocations: 23.94 kB / 1.294 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.4077, allocations: 83.28 kB / 1.294 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4077, allocations: 0 / 1.294 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003586/0.4081, allocations: 51.94 kB / 1.294 GB, free: 8.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.002848/0.411, allocations: 1.352 MB / 1.295 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.4125, allocations: 419.5 kB / 1.296 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4125, allocations: 0 / 1.296 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007558/0.4132, allocations: 219.7 kB / 1.296 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.4136, allocations: 8 kB / 1.296 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.4224, allocations: 2.948 MB / 1.299 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.4225, allocations: 91.77 kB / 1.299 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005439/0.423, allocations: 84.67 kB / 1.299 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.4233, allocations: 67.3 kB / 1.299 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4233, allocations: 0 / 1.299 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.4576, allocations: 5.339 MB / 1.304 GB, free: 13.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12, allocations: 4.562 kB / 1.304 GB, free: 13.73 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_err in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_err from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable err in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable err from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.96982259582728]