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.001336/0.001336, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001461/0.001461, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.012 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.9/2.9, allocations: 476.8 MB / 0.7707 GB, free: 4.223 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.003052/0.003052, allocations: 63.62 kB / 1.117 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4028, allocations: 170 MB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002036/0.4048, allocations: 0.7897 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.407, allocations: 1.546 MB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.407, allocations: 4 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.407, allocations: 3.938 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.4071, allocations: 3.938 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.4076, allocations: 151.4 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.4077, allocations: 51.91 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.4077, allocations: 3.984 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.4078, allocations: 31.91 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.4079, allocations: 27.91 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.4079, allocations: 7.938 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.4084, allocations: 319.4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.4084, allocations: 7.984 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.4085, allocations: 27.86 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.4088, allocations: 215.6 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4088, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4088, allocations: 4 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4088, allocations: 0 / 1.287 GB, free: 8.277 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.0006407/0.4094, allocations: 329.8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4095, allocations: 8.031 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.4095, allocations: 42.67 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.41, allocations: 72.81 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.4101, allocations: 114.5 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.4102, allocations: 4.375 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.4102, allocations: 8.375 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.4106, allocations: 109.7 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4106, allocations: 4 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4106, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4106, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.4111, allocations: 103.8 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.4117, allocations: 307.8 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.4124, allocations: 158.4 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.4126, allocations: 64.75 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4126, allocations: 0 / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4127, allocations: 30.56 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.4127, allocations: 0 / 1.288 GB, free: 6.812 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.01929/0.432, allocations: 2.687 MB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.432, allocations: 55.34 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.4321, allocations: 105.8 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.4322, allocations: 25.7 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.4322, allocations: 88.03 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.4323, allocations: 43.64 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4325, allocations: 69.58 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4327, allocations: 318.8 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.4334, allocations: 199.7 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.4341, allocations: 183.8 kB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.4354, allocations: 407.5 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4354, allocations: 0 / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001578/0.437, allocations: 469.2 kB / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.437, allocations: 4 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.437, allocations: 0 / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.437, allocations: 0 / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/0.4379, allocations: 123.7 kB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.4379, allocations: 0 / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.4386, allocations: 43.94 kB / 1.292 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.4386, allocations: 23.94 kB / 1.293 GB, free: 1.898 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.0001784/0.4388, allocations: 113.8 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.4389, allocations: 7.953 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.439, allocations: 16.05 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.439, allocations: 7.938 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.439, allocations: 0 / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.439, allocations: 0 / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.4414, allocations: 1.022 MB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4414, allocations: 0 / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008523/0.4423, allocations: 107.7 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4423, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.4423, allocations: 31.92 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4423, allocations: 0 / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4424, allocations: 0 / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.4448, allocations: 0.7919 MB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.445, allocations: 51.75 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.445, allocations: 8 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007395/0.4458, allocations: 44 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.4459, allocations: 32.02 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.4459, allocations: 23.88 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.446, allocations: 87.27 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.446, allocations: 0 / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000403/0.4464, allocations: 55.94 kB / 1.295 GB, free: 15.38 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.002798/0.4492, allocations: 1.337 MB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.4507, allocations: 423.5 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4507, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.4514, allocations: 231.7 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.4518, allocations: 8 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008972/0.4608, allocations: 2.934 MB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.4612, allocations: 0.6929 MB / 1.3 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005104/0.4617, allocations: 92.66 kB / 1.3 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.462, allocations: 63.3 kB / 1.3 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of SimCode: time 9.21e-07/0.462, allocations: 4 kB / 1.3 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4971, allocations: 4.787 MB / 1.305 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.65, allocations: 4.062 kB / 1.305 GB, free: 4.816 MB / 0.9981 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.706896517000132]