Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001335/0.001335, allocations: 114 kB / 17.12 MB, free: 6.008 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.001477/0.001477, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.029/1.029, allocations: 150 MB / 459.5 MB, free: 5.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002043/0.002043, allocations: 74.47 kB / 0.6362 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1795, allocations: 89.14 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001916/0.1814, allocations: 0.5991 MB / 0.7238 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1833, allocations: 1.367 MB / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1833, allocations: 0 / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1834, allocations: 3.938 kB / 0.7251 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.959e-05/0.1834, allocations: 0 / 0.7251 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.1838, allocations: 94.92 kB / 0.7252 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.1839, allocations: 15.98 kB / 0.7253 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.1839, allocations: 4 kB / 0.7253 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.1839, allocations: 15.94 kB / 0.7253 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.184, allocations: 19.91 kB / 0.7253 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.184, allocations: 4 kB / 0.7253 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.1843, allocations: 115.9 kB / 0.7254 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1843, allocations: 3.984 kB / 0.7254 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.1843, allocations: 11.94 kB / 0.7254 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1845, allocations: 83.98 kB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1845, allocations: 0 / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1845, allocations: 0 / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1845, allocations: 0 / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004972/0.185, allocations: 351.3 kB / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1851, allocations: 16.02 kB / 0.7258 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1851, allocations: 34.75 kB / 0.7259 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1851, allocations: 4.938 kB / 0.7259 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1853, allocations: 172.3 kB / 0.7261 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1853, allocations: 384 / 0.7261 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1853, allocations: 8.375 kB / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1854, allocations: 57.78 kB / 0.7261 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1854, allocations: 4 kB / 0.7261 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1854, allocations: 4 kB / 0.7261 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1854, allocations: 0 / 0.7261 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.1855, allocations: 23.98 kB / 0.7261 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.1857, allocations: 169.6 kB / 0.7263 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1858, allocations: 58.48 kB / 0.7264 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.1859, allocations: 25.03 kB / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.1864, allocations: 0.5661 MB / 0.7269 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1865, allocations: 42.5 kB / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1865, allocations: 0 / 0.727 GB, free: 15.87 MB / 0.545 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 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02104/0.2075, allocations: 4.378 MB / 0.7313 GB, free: 11.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2075, allocations: 51.41 kB / 0.7313 GB, free: 11.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.2076, allocations: 93.86 kB / 0.7314 GB, free: 11.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.2077, allocations: 29.7 kB / 0.7314 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.2077, allocations: 80.14 kB / 0.7315 GB, free: 11.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2079, allocations: 63.47 kB / 0.7316 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.2081, allocations: 89.8 kB / 0.7316 GB, free: 10.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2083, allocations: 326.8 kB / 0.732 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.2089, allocations: 311.8 kB / 0.7323 GB, free: 10.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.2094, allocations: 307.9 kB / 0.7325 GB, free: 9.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.2111, allocations: 0.7719 MB / 0.7333 GB, free: 9.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2111, allocations: 0 / 0.7333 GB, free: 9.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001747/0.2128, allocations: 0.795 MB / 0.7341 GB, free: 8.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2128, allocations: 9.719 kB / 0.7341 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2129, allocations: 3.938 kB / 0.7341 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2129, allocations: 4 kB / 0.7341 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.2138, allocations: 99.88 kB / 0.7342 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2138, allocations: 0 / 0.7342 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.2143, allocations: 8 kB / 0.7342 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.2144, allocations: 35.98 kB / 0.7342 GB, free: 8.234 MB / 0.545 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 (18): * Single equations (assignments): 18 * 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.0002134/0.2146, allocations: 121.8 kB / 0.7343 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.2147, allocations: 7.938 kB / 0.7344 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/0.2181, allocations: 1.407 MB / 0.7357 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2181, allocations: 4 kB / 0.7357 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2181, allocations: 0 / 0.7357 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2181, allocations: 4 kB / 0.7357 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.2213, allocations: 1.814 MB / 0.7375 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2213, allocations: 0 / 0.7375 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.2221, allocations: 111.8 kB / 0.7376 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.2222, allocations: 4 kB / 0.7376 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.2222, allocations: 27.94 kB / 0.7376 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2222, allocations: 4 kB / 0.7376 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2222, allocations: 0 / 0.7376 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.2248, allocations: 1.474 MB / 0.7391 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.2249, allocations: 92.98 kB / 0.7392 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.225, allocations: 11.94 kB / 0.7392 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.2255, allocations: 8 kB / 0.7392 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.2257, allocations: 47.95 kB / 0.7392 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.2258, allocations: 28 kB / 0.7393 GB, free: 2.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.234e-05/0.2258, allocations: 79.28 kB / 0.7393 GB, free: 2.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2258, allocations: 0 / 0.7393 GB, free: 2.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006382/0.2265, allocations: 183.8 kB / 0.7395 GB, free: 2.703 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (40): * Single equations (assignments): 40 * 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.003373/0.2298, allocations: 2.138 MB / 0.7416 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.2312, allocations: 0.7151 MB / 0.7423 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2312, allocations: 0 / 0.7423 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.2319, allocations: 407.7 kB / 0.7427 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2323, allocations: 12 kB / 0.7427 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/0.2407, allocations: 3.741 MB / 0.7464 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2411, allocations: 0.7142 MB / 0.7471 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001023/0.2421, allocations: 293.5 kB / 0.7473 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.2427, allocations: 115.4 kB / 0.7474 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.2427, allocations: 0 / 0.7474 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04624/0.289, allocations: 12.88 MB / 0.76 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.625, allocations: 14.61 kB / 0.76 GB, free: 13.71 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.772799440892413] Failed to read output from testmodel.py, exit status != 0: 8.70126255392097 8.732672766 8.54279362 Calling exit ...