Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001587/0.001587, allocations: 210.6 kB / 22.24 MB, free: 4.855 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.812 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.313/3.313, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_12_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_12_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.00207/0.00207, allocations: 69.27 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002094/0.3326, allocations: 0.7888 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.3347, allocations: 1.451 MB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.3348, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.3348, allocations: 3.938 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.3348, allocations: 7.922 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.3354, allocations: 143.6 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.11e-05/0.3355, allocations: 51.77 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.3355, allocations: 8.188 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.3356, allocations: 27.92 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.3357, allocations: 35.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3357, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.3361, allocations: 251.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.3361, allocations: 15.91 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.3362, allocations: 27.86 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3365, allocations: 195.4 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3365, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3365, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3365, allocations: 0 / 1.328 GB, free: 15.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006586/0.3372, allocations: 333.8 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3372, allocations: 8.031 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.3373, allocations: 38.75 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.3377, allocations: 72.8 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3379, allocations: 110.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3379, allocations: 12.31 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3379, allocations: 8.328 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.3383, allocations: 173.1 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3383, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3383, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3384, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.3388, allocations: 99.89 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.3395, allocations: 295.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.3401, allocations: 146.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.3404, allocations: 64.8 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3404, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3404, allocations: 30.56 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3404, allocations: 0 / 1.329 GB, free: 13.79 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=11): time 0.01856/0.359, allocations: 2.692 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.359, allocations: 59.34 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.3591, allocations: 105.8 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.3592, allocations: 25.7 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.3592, allocations: 92.09 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.3593, allocations: 43.62 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.3595, allocations: 69.58 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3596, allocations: 310.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.3603, allocations: 195.8 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.361, allocations: 191.9 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.3624, allocations: 396.3 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3624, allocations: 0 / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001614/0.364, allocations: 485.2 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.364, allocations: 4 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.364, allocations: 4 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3641, allocations: 0 / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.3649, allocations: 111.7 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3649, allocations: 0 / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.3655, allocations: 43.94 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.3656, allocations: 27.92 kB / 1.334 GB, free: 8.867 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 (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.0001635/0.3657, allocations: 121.8 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.3658, allocations: 4 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.3659, allocations: 12.06 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3659, allocations: 3.938 kB / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3659, allocations: 0 / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3659, allocations: 0 / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.3682, allocations: 0.9875 MB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3682, allocations: 0 / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/0.3691, allocations: 111.7 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3691, allocations: 0 / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.3691, allocations: 23.94 kB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.3691, allocations: 7.984 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3691, allocations: 0 / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.3716, allocations: 0.788 MB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3718, allocations: 39.84 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.3718, allocations: 8.062 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006743/0.3725, allocations: 43.92 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.3726, allocations: 31.92 kB / 1.336 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.3726, allocations: 19.94 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.3727, allocations: 83.28 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3727, allocations: 0 / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003866/0.3731, allocations: 59.92 kB / 1.336 GB, free: 6.391 MB / 1.029 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.002897/0.376, allocations: 1.356 MB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.3775, allocations: 411.5 kB / 1.338 GB, free: 4.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3775, allocations: 0 / 1.338 GB, free: 4.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.3783, allocations: 219.7 kB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3786, allocations: 15.94 kB / 1.338 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/0.3876, allocations: 2.94 MB / 1.341 GB, free: 1.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.215e-05/0.3876, allocations: 83.2 kB / 1.341 GB, free: 1.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005378/0.3882, allocations: 89.09 kB / 1.341 GB, free: 1.172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.3885, allocations: 63.3 kB / 1.341 GB, free: 1.109 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.3885, allocations: 0 / 1.341 GB, free: 1.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.4241, allocations: 5.337 MB / 1.347 GB, free: 11.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 3.062 kB / 1.347 GB, free: 11.9 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_y in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable der_err in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable der_err from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! Error: Could not read variable err in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv. Warning: Get data of variable err from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.143153807148337]