Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007183/0.0007183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007266/0.0007266, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8638/0.8638, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001464/0.001464, allocations: 238.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6717/0.6717, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6464 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.521e-05, allocations: 13.31 kB / 0.6464 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001149/0.001175, allocations: 0.6123 MB / 0.647 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2394/0.2406, allocations: 1.308 MB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.2406, allocations: 0 / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.2406, allocations: 4.125 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.2406, allocations: 0 / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.2411, allocations: 82.3 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.2411, allocations: 22.69 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.2412, allocations: 1.922 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.2412, allocations: 16.42 kB / 0.6484 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.2413, allocations: 13.58 kB / 0.6484 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2413, allocations: 2.156 kB / 0.6484 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.2416, allocations: 113.9 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.2416, allocations: 5.406 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.2416, allocations: 10.62 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.2418, allocations: 90.27 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2418, allocations: 0 / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2418, allocations: 1.594 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2418, allocations: 0 / 0.6486 GB, free: 55.86 MB / 0.5573 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.0003553/0.2421, allocations: 275.1 kB / 0.6488 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2422, allocations: 11.31 kB / 0.6489 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.2422, allocations: 36.84 kB / 0.6489 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2422, allocations: 5.875 kB / 0.6489 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.144e-05/0.2423, allocations: 113.8 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2423, allocations: 2.625 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2423, allocations: 6.75 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.2425, allocations: 76.53 kB / 0.6491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2425, allocations: 2.188 kB / 0.6491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2425, allocations: 11.08 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2425, allocations: 2.406 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.2425, allocations: 24.09 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.2427, allocations: 135.8 kB / 0.6493 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2428, allocations: 56.02 kB / 0.6493 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.2428, allocations: 23.91 kB / 0.6493 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.243, allocations: 40.14 kB / 0.6494 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.243, allocations: 37.25 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.243, allocations: 0 / 0.6494 GB, free: 55.14 MB / 0.5573 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.01091/0.2539, allocations: 4.17 MB / 0.6535 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.254, allocations: 53.47 kB / 0.6535 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.32e-05/0.254, allocations: 97.62 kB / 0.6536 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.2541, allocations: 29.7 kB / 0.6537 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-06/0.2541, allocations: 82.08 kB / 0.6537 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.2542, allocations: 61.3 kB / 0.6538 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2543, allocations: 89.95 kB / 0.6539 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.2544, allocations: 319 kB / 0.6542 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2547, allocations: 314.8 kB / 0.6545 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.255, allocations: 311.6 kB / 0.6548 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.256, allocations: 0.7748 MB / 0.6555 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.256, allocations: 0 / 0.6555 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009655/0.2569, allocations: 0.8016 MB / 0.6563 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.257, allocations: 6.078 kB / 0.6563 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.257, allocations: 2 kB / 0.6563 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.257, allocations: 0 / 0.6563 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.2574, allocations: 98.11 kB / 0.6564 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2574, allocations: 2.062 kB / 0.6564 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.2576, allocations: 4.125 kB / 0.6564 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.2576, allocations: 34.08 kB / 0.6565 GB, free: 52.65 MB / 0.5573 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.0001349/0.2578, allocations: 124.6 kB / 0.6566 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.2578, allocations: 8.422 kB / 0.6566 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.2596, allocations: 1.404 MB / 0.658 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.2596, allocations: 4.656 kB / 0.658 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2596, allocations: 4 kB / 0.658 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2596, allocations: 1.359 kB / 0.658 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.2615, allocations: 1.705 MB / 0.6596 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2615, allocations: 0 / 0.6596 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.2619, allocations: 107.6 kB / 0.6597 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.2619, allocations: 1.969 kB / 0.6597 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.262, allocations: 30.72 kB / 0.6598 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.262, allocations: 2.297 kB / 0.6598 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.262, allocations: 7.875 kB / 0.6598 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.2635, allocations: 1.467 MB / 0.6612 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.2635, allocations: 19.28 kB / 0.6612 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.2636, allocations: 7.062 kB / 0.6612 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2638, allocations: 15.28 kB / 0.6612 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.2639, allocations: 49.45 kB / 0.6613 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.264, allocations: 32.58 kB / 0.6613 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.264, allocations: 77.25 kB / 0.6614 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.264, allocations: 0 / 0.6614 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005178/0.2645, allocations: 185.1 kB / 0.6616 GB, free: 50 MB / 0.5573 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.002005/0.2665, allocations: 2.147 MB / 0.6637 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008599/0.2674, allocations: 0.7164 MB / 0.6644 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2674, allocations: 160 / 0.6644 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.2678, allocations: 406.2 kB / 0.6648 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.268, allocations: 18.09 kB / 0.6648 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.2725, allocations: 3.714 MB / 0.6684 GB, free: 46.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.2725, allocations: 101.3 kB / 0.6685 GB, free: 45.94 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006209/0.2732, allocations: 292.9 kB / 0.6688 GB, free: 45.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.2735, allocations: 119 kB / 0.6689 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of SimCode: time 1.924e-06/0.2735, allocations: 0 / 0.6689 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.3047, allocations: 14.27 MB / 0.6828 GB, free: 43.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/7, allocations: 8.375 kB / 0.6828 GB, free: 43.8 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.62888437602669] Failed to read output from testmodel.py, exit status != 0: 7.079864472150803 7.093844447 6.850079666 Calling exit ...