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.001356/0.001356, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003098/0.003098, allocations: 214.1 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.002571/0.002571, allocations: 291 kB / 312.7 MB, free: 2.691 MB / 238.1 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 1.246/1.246, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.002912/0.002912, allocations: 97 kB / 0.7395 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1877, allocations: 95.38 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001951/0.1897, allocations: 0.6348 MB / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1916, allocations: 1.301 MB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1917, allocations: 0 / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1917, allocations: 0 / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.1917, allocations: 3.938 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.1922, allocations: 83.73 kB / 0.8347 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.1922, allocations: 19.98 kB / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1923, allocations: 0 / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.1923, allocations: 23.91 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.1924, allocations: 7.984 kB / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1924, allocations: 0 / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.1927, allocations: 111.8 kB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.1927, allocations: 11.98 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.1928, allocations: 7.938 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.193, allocations: 76.05 kB / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.193, allocations: 0 / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.193, allocations: 7.938 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.193, allocations: 4 kB / 0.8349 GB, free: 5.969 MB / 0.5762 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.0005055/0.1935, allocations: 279.4 kB / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1935, allocations: 9.938 kB / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.1936, allocations: 34.75 kB / 0.8352 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1936, allocations: 4.875 kB / 0.8352 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1937, allocations: 106.5 kB / 0.8353 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1937, allocations: 4.375 kB / 0.8353 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1938, allocations: 8.328 kB / 0.8353 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1939, allocations: 91.44 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1939, allocations: 0 / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.194, allocations: 0 / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.194, allocations: 0 / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.194, allocations: 23.98 kB / 0.8355 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.1942, allocations: 140.7 kB / 0.8356 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1944, allocations: 54.56 kB / 0.8356 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.1944, allocations: 24.84 kB / 0.8357 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.1947, allocations: 39.97 kB / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1947, allocations: 42.44 kB / 0.8357 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.1947, allocations: 0 / 0.8357 GB, free: 4.988 MB / 0.5762 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.01986/0.2146, allocations: 4.173 MB / 0.8398 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2146, allocations: 55.41 kB / 0.8399 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.2147, allocations: 97.84 kB / 0.84 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.2148, allocations: 29.7 kB / 0.84 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.2148, allocations: 84.14 kB / 0.8401 GB, free: 440 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2149, allocations: 55.48 kB / 0.8401 GB, free: 384 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.2152, allocations: 89.67 kB / 0.8402 GB, free: 288 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2154, allocations: 326.8 kB / 0.8405 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.2159, allocations: 307.9 kB / 0.8408 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.2165, allocations: 311.8 kB / 0.8411 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.218, allocations: 0.768 MB / 0.8419 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.218, allocations: 0 / 0.8419 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001637/0.2197, allocations: 0.806 MB / 0.8427 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2197, allocations: 10.34 kB / 0.8427 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2197, allocations: 0 / 0.8427 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2197, allocations: 0 / 0.8427 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.2206, allocations: 95.94 kB / 0.8428 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2206, allocations: 0 / 0.8428 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.2211, allocations: 8 kB / 0.8428 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.2212, allocations: 39.91 kB / 0.8428 GB, free: 13.62 MB / 0.5919 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.0002012/0.2214, allocations: 122.4 kB / 0.8429 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.2215, allocations: 7.953 kB / 0.8429 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.2246, allocations: 1.403 MB / 0.8443 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.2246, allocations: 8 kB / 0.8443 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2246, allocations: 4 kB / 0.8443 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2246, allocations: 3.984 kB / 0.8443 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.2277, allocations: 1.696 MB / 0.846 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2277, allocations: 3.984 kB / 0.846 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.2285, allocations: 107.9 kB / 0.8461 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.2285, allocations: 4 kB / 0.8461 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.2285, allocations: 27.94 kB / 0.8461 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2286, allocations: 0 / 0.8461 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2286, allocations: 4 kB / 0.8461 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.231, allocations: 1.466 MB / 0.8475 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.2311, allocations: 11.92 kB / 0.8475 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.2311, allocations: 15.94 kB / 0.8476 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.2317, allocations: 20.03 kB / 0.8476 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.2318, allocations: 47.89 kB / 0.8476 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.2319, allocations: 27.98 kB / 0.8477 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.2319, allocations: 79.28 kB / 0.8477 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2319, allocations: 0 / 0.8477 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005612/0.2325, allocations: 183.7 kB / 0.8479 GB, free: 8.293 MB / 0.5919 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.003221/0.2357, allocations: 2.131 MB / 0.85 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.237, allocations: 0.7145 MB / 0.8507 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.237, allocations: 160 / 0.8507 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006602/0.2377, allocations: 407.7 kB / 0.8511 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.238, allocations: 16 kB / 0.8511 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007865/0.2459, allocations: 3.703 MB / 0.8547 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.246, allocations: 103.5 kB / 0.8548 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001091/0.2471, allocations: 297.5 kB / 0.8551 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/0.2476, allocations: 119.4 kB / 0.8552 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.2476, allocations: 0 / 0.8552 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.2952, allocations: 14.12 MB / 0.869 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.47, allocations: 1.562 kB / 0.869 GB, free: 2.801 MB / 0.6075 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 15.768561485689133] Failed to read output from testmodel.py, exit status != 0: 11.588226822204888 11.615560414 11.417907897 Calling exit ...