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.001454/0.001454, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001634/0.001634, allocations: 216 kB / 22.99 MB, free: 4.977 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 0.9808/0.9808, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.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.002271/0.002271, allocations: 70.98 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1813, allocations: 89.17 MB / 0.7282 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002008/0.1833, allocations: 0.6135 MB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.1855, allocations: 1.307 MB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.1855, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1856, allocations: 3.938 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.292e-05/0.1856, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1861, allocations: 83.66 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.1862, allocations: 19.92 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.1862, allocations: 4 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.1862, allocations: 11.98 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.1863, allocations: 15.91 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1863, allocations: 4 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.1866, allocations: 111.9 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.1867, allocations: 11.92 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1867, allocations: 4 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1869, allocations: 83.98 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1869, allocations: 0 / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1869, allocations: 0 / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1869, allocations: 0 / 0.7304 GB, free: 14.69 MB / 0.5606 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.0004894/0.1874, allocations: 278.2 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1875, allocations: 8.031 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.1875, allocations: 42.61 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.1875, allocations: 8.938 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1877, allocations: 102.5 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1877, allocations: 8.375 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1877, allocations: 4.375 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1878, allocations: 79.5 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1879, allocations: 4 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1879, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1879, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.1879, allocations: 27.91 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.1881, allocations: 144.6 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1883, allocations: 54.56 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.1883, allocations: 24.84 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.1886, allocations: 35.97 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1886, allocations: 34.5 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1886, allocations: 4 kB / 0.7312 GB, free: 13.71 MB / 0.5606 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.02031/0.2089, allocations: 4.17 MB / 0.7353 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.209, allocations: 55.41 kB / 0.7354 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.2091, allocations: 97.8 kB / 0.7355 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.2092, allocations: 29.7 kB / 0.7355 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2093, allocations: 80.14 kB / 0.7356 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.2094, allocations: 59.47 kB / 0.7356 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2096, allocations: 93.67 kB / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2098, allocations: 322.9 kB / 0.736 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.2103, allocations: 311.9 kB / 0.7363 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.2109, allocations: 307.9 kB / 0.7366 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.2125, allocations: 0.7725 MB / 0.7374 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2125, allocations: 4 kB / 0.7374 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001635/0.2141, allocations: 0.7904 MB / 0.7381 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.2142, allocations: 8 kB / 0.7382 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2142, allocations: 0 / 0.7382 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2142, allocations: 0 / 0.7382 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.2151, allocations: 99.88 kB / 0.7382 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2151, allocations: 0 / 0.7382 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.2156, allocations: 12 kB / 0.7383 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.2157, allocations: 35.98 kB / 0.7383 GB, free: 6.352 MB / 0.5606 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.0002314/0.2159, allocations: 121.7 kB / 0.7384 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.216, allocations: 7.938 kB / 0.7384 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/0.2192, allocations: 1.396 MB / 0.7398 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2192, allocations: 4 kB / 0.7398 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2192, allocations: 0 / 0.7398 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2192, allocations: 0 / 0.7398 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.2225, allocations: 1.7 MB / 0.7414 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2225, allocations: 0 / 0.7414 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.2233, allocations: 107.9 kB / 0.7415 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.2233, allocations: 4 kB / 0.7416 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.2234, allocations: 31.92 kB / 0.7416 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2234, allocations: 4 kB / 0.7416 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2234, allocations: 7.969 kB / 0.7416 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.226, allocations: 1.462 MB / 0.743 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.226, allocations: 19.88 kB / 0.743 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.2261, allocations: 11.94 kB / 0.7431 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.2266, allocations: 15.94 kB / 0.7431 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.2268, allocations: 43.95 kB / 0.7431 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.2269, allocations: 28 kB / 0.7431 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.2269, allocations: 83.27 kB / 0.7432 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2269, allocations: 0 / 0.7432 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006146/0.2275, allocations: 183.7 kB / 0.7434 GB, free: 1.035 MB / 0.5606 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.003356/0.2309, allocations: 2.143 MB / 0.7455 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.2323, allocations: 0.7164 MB / 0.7462 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2323, allocations: 0 / 0.7462 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.2329, allocations: 404 kB / 0.7466 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2333, allocations: 16 kB / 0.7466 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/0.2413, allocations: 3.706 MB / 0.7502 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2414, allocations: 103.7 kB / 0.7503 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001059/0.2425, allocations: 297.5 kB / 0.7506 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/0.243, allocations: 111.4 kB / 0.7507 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.243, allocations: 0 / 0.7507 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3784/0.6215, allocations: 14.07 MB / 0.7644 GB, free: 35.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.26, allocations: 13.95 kB / 0.7644 GB, free: 35.27 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.279729806818068] Failed to read output from testmodel.py, exit status != 0: 12.397179007995874 12.419675882 12.228451501 Calling exit ...