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.0008814/0.0008814, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001055/0.001055, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9223/0.9223, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5668/0.5668, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.383e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001277/0.001301, allocations: 0.6132 MB / 0.5549 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.002902, allocations: 1.307 MB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.00294, allocations: 0 / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.002961, allocations: 0 / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.512e-05/0.002986, allocations: 0 / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.003472, allocations: 79.66 kB / 0.5562 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.003552, allocations: 27.86 kB / 0.5562 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.003606, allocations: 0 / 0.5562 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.003648, allocations: 15.98 kB / 0.5562 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.003732, allocations: 11.97 kB / 0.5563 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.00375, allocations: 4 kB / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.004046, allocations: 115.8 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.004063, allocations: 11.92 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.004086, allocations: 7.984 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.00426, allocations: 83.81 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004262, allocations: 0 / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004263, allocations: 0 / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.004269, allocations: 0 / 0.5565 GB, free: 424 kB / 0.5105 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.0004523/0.004721, allocations: 282.1 kB / 0.5567 GB, free: 112 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.004762, allocations: 8.625 kB / 0.5567 GB, free: 104 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.004799, allocations: 42.73 kB / 0.5568 GB, free: 52 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.004825, allocations: 4.891 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/0.004915, allocations: 109.8 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.004927, allocations: 4.375 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.004951, allocations: 8.359 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.005078, allocations: 83.88 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.00509, allocations: 192 / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.0051, allocations: 4.125 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.005105, allocations: 0 / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.005161, allocations: 23.98 kB / 0.557 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.005309, allocations: 132.8 kB / 0.5571 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.005415, allocations: 66.56 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.005447, allocations: 24.78 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.005658, allocations: 35.97 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.005684, allocations: 34.56 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005685, allocations: 0 / 0.5573 GB, free: 15.43 MB / 0.5261 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.01018/0.01586, allocations: 4.18 MB / 0.5614 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.01589, allocations: 51.41 kB / 0.5614 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.01595, allocations: 93.86 kB / 0.5615 GB, free: 11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.016, allocations: 29.7 kB / 0.5615 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.01602, allocations: 80.14 kB / 0.5616 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.0161, allocations: 63.44 kB / 0.5617 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.01625, allocations: 89.66 kB / 0.5618 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.01634, allocations: 323 kB / 0.5621 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.01668, allocations: 303.9 kB / 0.5624 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.01702, allocations: 315.9 kB / 0.5627 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.01799, allocations: 0.7721 MB / 0.5634 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01799, allocations: 0 / 0.5634 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009683/0.01896, allocations: 0.8043 MB / 0.5642 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01897, allocations: 4 kB / 0.5642 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01898, allocations: 480 / 0.5642 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01899, allocations: 0 / 0.5642 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.01934, allocations: 91.95 kB / 0.5643 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.01934, allocations: 7.984 kB / 0.5643 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.01953, allocations: 8 kB / 0.5643 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.01958, allocations: 31.98 kB / 0.5643 GB, free: 8.078 MB / 0.5261 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.0001322/0.01972, allocations: 129.7 kB / 0.5645 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.01977, allocations: 7.953 kB / 0.5645 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.02156, allocations: 1.399 MB / 0.5658 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.02157, allocations: 11.97 kB / 0.5659 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02157, allocations: 0 / 0.5659 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.02158, allocations: 0 / 0.5659 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.02338, allocations: 1.714 MB / 0.5675 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02338, allocations: 0 / 0.5675 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.02372, allocations: 103.9 kB / 0.5676 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.02373, allocations: 4 kB / 0.5676 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.02377, allocations: 28 kB / 0.5677 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.02377, allocations: 4 kB / 0.5677 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.02378, allocations: 11.95 kB / 0.5677 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.02529, allocations: 1.462 MB / 0.5691 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.0253, allocations: 15.94 kB / 0.5691 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.02535, allocations: 4 kB / 0.5691 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.02555, allocations: 19.98 kB / 0.5691 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.02564, allocations: 43.89 kB / 0.5692 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.02568, allocations: 32 kB / 0.5692 GB, free: 3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.119e-05/0.0257, allocations: 79.22 kB / 0.5693 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.0257, allocations: 3.938 kB / 0.5693 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003724/0.02608, allocations: 187.8 kB / 0.5695 GB, free: 2.734 MB / 0.5261 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.002118/0.02819, allocations: 2.15 MB / 0.5716 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008991/0.02909, allocations: 0.7145 MB / 0.5723 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.0291, allocations: 0 / 0.5723 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.0295, allocations: 403.7 kB / 0.5727 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.02973, allocations: 15.94 kB / 0.5727 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.03439, allocations: 3.709 MB / 0.5763 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.03446, allocations: 107.8 kB / 0.5764 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006113/0.03507, allocations: 293.5 kB / 0.5767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.03545, allocations: 116.5 kB / 0.5768 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/0.03545, allocations: 0 / 0.5768 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.06298, allocations: 14.2 MB / 0.5907 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.176, allocations: 10.03 kB / 0.5907 GB, free: 13.16 MB / 0.5573 GB " [Timeout remaining time 653] (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 os._exit(0), Time elapsed: 9.84713187534362] Failed to read output from testmodel.py, exit status != 0: 7.261487670242786 7.270139006 7.26402925 Calling exit ...