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.001373/0.001373, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001409/0.001409, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.783/2.783, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] 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.00213/0.00213, allocations: 63.91 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002221/1.02, allocations: 0.7893 MB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002131/1.022, allocations: 1.53 MB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/1.022, allocations: 0 / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/1.022, allocations: 3.938 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/1.022, allocations: 3.938 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/1.023, allocations: 155.4 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/1.023, allocations: 51.91 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/1.023, allocations: 11.98 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/1.023, allocations: 27.91 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/1.023, allocations: 31.91 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/1.023, allocations: 4 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/1.024, allocations: 319.3 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/1.024, allocations: 15.92 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/1.024, allocations: 27.84 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/1.024, allocations: 209.2 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.024, allocations: 3.938 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/1.024, allocations: 0 / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.268e-06/1.024, allocations: 0 / 1.281 GB, free: 10.19 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.0007528/1.025, allocations: 406.9 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.025, allocations: 8.031 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/1.025, allocations: 42.73 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/1.026, allocations: 72.8 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/1.026, allocations: 168.3 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.026, allocations: 16.38 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/1.026, allocations: 4.375 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/1.026, allocations: 117.7 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.026, allocations: 3.953 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/1.026, allocations: 0 / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.026, allocations: 0 / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/1.027, allocations: 103.9 kB / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/1.027, allocations: 332.6 kB / 1.283 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/1.028, allocations: 154.5 kB / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/1.028, allocations: 60.73 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/1.028, allocations: 7.984 kB / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.028, allocations: 30.56 kB / 1.283 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/1.028, allocations: 0 / 1.283 GB, free: 8.523 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=11): time 0.01886/1.047, allocations: 2.835 MB / 1.286 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.047, allocations: 55.34 kB / 1.286 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/1.047, allocations: 97.86 kB / 1.286 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/1.047, allocations: 33.7 kB / 1.286 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/1.047, allocations: 92.08 kB / 1.286 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/1.048, allocations: 43.58 kB / 1.286 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/1.048, allocations: 69.58 kB / 1.286 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.048, allocations: 314.8 kB / 1.286 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/1.049, allocations: 191.8 kB / 1.286 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/1.049, allocations: 193.9 kB / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/1.051, allocations: 392.5 kB / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.051, allocations: 0 / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001717/1.052, allocations: 481.3 kB / 1.288 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.053, allocations: 10.5 kB / 1.288 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.053, allocations: 0 / 1.288 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.053, allocations: 3.938 kB / 1.288 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/1.053, allocations: 107.7 kB / 1.288 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.053, allocations: 4 kB / 1.288 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/1.054, allocations: 43.94 kB / 1.288 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/1.054, allocations: 31.92 kB / 1.288 GB, free: 3.422 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 (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.0001644/1.054, allocations: 112.6 kB / 1.288 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/1.054, allocations: 7.953 kB / 1.288 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/1.054, allocations: 15.91 kB / 1.288 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.054, allocations: 3.938 kB / 1.288 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.054, allocations: 0 / 1.288 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.054, allocations: 0 / 1.288 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/1.057, allocations: 1.043 MB / 1.289 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.057, allocations: 7.938 kB / 1.289 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/1.058, allocations: 115.7 kB / 1.289 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.058, allocations: 0 / 1.289 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/1.058, allocations: 19.94 kB / 1.289 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.058, allocations: 4 kB / 1.289 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.058, allocations: 3.984 kB / 1.289 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/1.06, allocations: 0.7897 MB / 1.29 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/1.061, allocations: 124.9 kB / 1.29 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/1.061, allocations: 0 / 1.29 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/1.061, allocations: 51.98 kB / 1.29 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.061, allocations: 27.94 kB / 1.29 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/1.062, allocations: 23.92 kB / 1.29 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.065e-05/1.062, allocations: 79.28 kB / 1.29 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.062, allocations: 0 / 1.29 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003944/1.062, allocations: 55.94 kB / 1.29 GB, free: 0.7852 MB / 0.9825 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.003103/1.065, allocations: 1.347 MB / 1.291 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001638/1.067, allocations: 423.4 kB / 1.292 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.067, allocations: 0 / 1.292 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007892/1.067, allocations: 220.2 kB / 1.292 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/1.068, allocations: 12.55 kB / 1.292 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009361/1.077, allocations: 2.956 MB / 1.295 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/1.078, allocations: 0.6924 MB / 1.296 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004778/1.078, allocations: 96.72 kB / 1.296 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/1.078, allocations: 63.3 kB / 1.296 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.078, allocations: 0 / 1.296 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/1.112, allocations: 4.599 MB / 1.3 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/9.265, allocations: 5.906 kB / 1.3 GB, free: 6.406 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.484626862918958]