Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001633/0.001633, 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.002415/0.002415, allocations: 215.7 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.34/3.34, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002052/0.002052, allocations: 68.09 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002644/0.3637, allocations: 0.7985 MB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.3662, allocations: 1.54 MB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.3662, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.3663, allocations: 7.938 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.3663, allocations: 3.938 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.3669, allocations: 143.4 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.367, allocations: 51.89 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.367, allocations: 4.281 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3671, allocations: 27.92 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.3672, allocations: 35.88 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3672, allocations: 4 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.3677, allocations: 323.3 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.3678, allocations: 19.91 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.3678, allocations: 23.86 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.3681, allocations: 211.4 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3681, allocations: 0 / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3681, allocations: 4 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3681, allocations: 0 / 1.356 GB, free: 5.227 MB / 1.045 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.0006668/0.3688, allocations: 325.8 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3689, allocations: 12.03 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.3689, allocations: 34.75 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.3694, allocations: 72.84 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3695, allocations: 110.4 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3695, allocations: 16.31 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3695, allocations: 8.359 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.3699, allocations: 116.4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3699, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3699, allocations: 4 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3699, allocations: 4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.3704, allocations: 103.9 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.371, allocations: 303.7 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.3716, allocations: 150.4 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.3718, allocations: 56.81 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3719, allocations: 0 / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3719, allocations: 34.56 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3719, allocations: 0 / 1.357 GB, free: 3.773 MB / 1.045 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.01846/0.3903, allocations: 2.695 MB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3904, allocations: 59.34 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3905, allocations: 101.8 kB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.3906, allocations: 25.7 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.3906, allocations: 88.14 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.3907, allocations: 39.73 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.3909, allocations: 77.52 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3911, allocations: 314.8 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.3917, allocations: 191.8 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.3924, allocations: 191.8 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3937, allocations: 396.5 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3937, allocations: 0 / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001547/0.3953, allocations: 483.2 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3953, allocations: 4 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3953, allocations: 11.94 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3953, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.3962, allocations: 103.7 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3962, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.3968, allocations: 51.94 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.3969, allocations: 23.92 kB / 1.362 GB, free: 14.85 MB / 1.061 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.0002332/0.3971, allocations: 121.7 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.3972, allocations: 8 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.3973, allocations: 12.06 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3973, allocations: 7.938 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3973, allocations: 0 / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3973, allocations: 3.984 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.3998, allocations: 1.023 MB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3998, allocations: 0 / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.4006, allocations: 111.7 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4006, allocations: 0 / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.4007, allocations: 23.92 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4007, allocations: 5.016 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4007, allocations: 0 / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.403, allocations: 0.7879 MB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4031, allocations: 39.88 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.4032, allocations: 3.984 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.4039, allocations: 47.94 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.404, allocations: 27.98 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.4041, allocations: 23.94 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.4041, allocations: 91.2 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4041, allocations: 3.938 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003863/0.4045, allocations: 51.94 kB / 1.364 GB, free: 12.33 MB / 1.061 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.002778/0.4073, allocations: 1.333 MB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.409, allocations: 427.5 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.409, allocations: 0 / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.4098, allocations: 219.7 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.4102, allocations: 15.92 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008965/0.4191, allocations: 2.939 MB / 1.369 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.4195, allocations: 0.6963 MB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000527/0.4201, allocations: 92.66 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.4204, allocations: 63.3 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of SimCode: time 1.633e-06/0.4204, allocations: 0 / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.454, allocations: 4.786 MB / 1.375 GB, free: 1.762 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 10.72 kB / 1.375 GB, free: 1.754 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_y in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_err in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_err from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable err in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable err from file Buildings_latest_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.710939991000487]