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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.52/2.52, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7712, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001737/0.7729, allocations: 0.7988 MB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.7743, allocations: 1.483 MB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.7744, allocations: 0 / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.7744, allocations: 5.562 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.7744, allocations: 3.938 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.7749, allocations: 146.2 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.775, allocations: 48.12 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.775, allocations: 8.891 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.7751, allocations: 27.38 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.7751, allocations: 39.02 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.7752, allocations: 4.375 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.7756, allocations: 328.4 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.7756, allocations: 10.73 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.7756, allocations: 26.17 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.7759, allocations: 214.4 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7759, allocations: 0 / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7759, allocations: 0 / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7759, allocations: 0.9062 kB / 1.274 GB, free: 5.832 MB / 0.9981 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.0005844/0.7765, allocations: 408.3 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7766, allocations: 10.25 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.7766, allocations: 36.62 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.777, allocations: 77.95 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.633e-05/0.7771, allocations: 166.3 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.7771, allocations: 11.91 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.7771, allocations: 8.594 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.7775, allocations: 117.1 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.7775, allocations: 0 / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.7775, allocations: 5.188 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7775, allocations: 1.562 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.778, allocations: 100.9 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.7785, allocations: 331.3 kB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.7791, allocations: 153.5 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.7793, allocations: 54.48 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.7793, allocations: 5.125 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.7793, allocations: 31.81 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.7793, allocations: 0 / 1.276 GB, free: 4.691 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.017/0.7963, allocations: 2.849 MB / 1.279 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.7964, allocations: 57.22 kB / 1.279 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.338e-05/0.7964, allocations: 101.4 kB / 1.279 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.7964, allocations: 30.23 kB / 1.279 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.7965, allocations: 92.66 kB / 1.279 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.7965, allocations: 40.06 kB / 1.279 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.7967, allocations: 68.78 kB / 1.279 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.7967, allocations: 313.9 kB / 1.279 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.7974, allocations: 192 kB / 1.28 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/0.798, allocations: 194.9 kB / 1.28 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.7993, allocations: 392.7 kB / 1.28 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.7993, allocations: 96 / 1.28 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001488/0.8008, allocations: 487.3 kB / 1.281 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8008, allocations: 7.031 kB / 1.281 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.8008, allocations: 0.7969 kB / 1.281 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8009, allocations: 0 / 1.281 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.8016, allocations: 110 kB / 1.281 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8016, allocations: 2.453 kB / 1.281 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.8022, allocations: 44.77 kB / 1.281 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.8023, allocations: 23.61 kB / 1.281 GB, free: 2.832 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.0001165/0.8024, allocations: 124 kB / 1.281 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.8025, allocations: 4.484 kB / 1.281 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.8025, allocations: 11.2 kB / 1.281 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8025, allocations: 5 kB / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8025, allocations: 1.969 kB / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8025, allocations: 0.6562 kB / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.8044, allocations: 1.046 MB / 1.282 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8044, allocations: 1 kB / 1.282 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007619/0.8052, allocations: 119.5 kB / 1.282 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8052, allocations: 0 / 1.282 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.8053, allocations: 21.5 kB / 1.282 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8053, allocations: 4.562 kB / 1.282 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8053, allocations: 0 / 1.282 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.8074, allocations: 0.7933 MB / 1.283 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.8075, allocations: 120.7 kB / 1.283 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.8076, allocations: 0.6562 kB / 1.283 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/0.8082, allocations: 48.38 kB / 1.283 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.8083, allocations: 28.78 kB / 1.283 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.8083, allocations: 25.23 kB / 1.283 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.311e-05/0.8084, allocations: 80.56 kB / 1.283 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8084, allocations: 3.938 kB / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003627/0.8087, allocations: 51.31 kB / 1.283 GB, free: 1.48 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.002351/0.8111, allocations: 1.348 MB / 1.285 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.8125, allocations: 418.1 kB / 1.285 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8125, allocations: 0.9375 kB / 1.285 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006952/0.8132, allocations: 224.4 kB / 1.285 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.8135, allocations: 14.02 kB / 1.285 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/0.8218, allocations: 2.959 MB / 1.288 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.8221, allocations: 0.6901 MB / 1.289 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.8226, allocations: 90.41 kB / 1.289 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.8228, allocations: 68.62 kB / 1.289 GB, free: 14.13 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/0.8228, allocations: 0 / 1.289 GB, free: 14.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.8507, allocations: 4.619 MB / 1.293 GB, free: 13.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/8.045, allocations: 8.859 kB / 1.293 GB, free: 13.6 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.49387403500441]