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.001312/0.001312, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001415/0.001415, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.003983/0.003983, allocations: 290.4 kB / 313.5 MB, free: 2.609 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.237/1.237, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",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.002841/0.002841, allocations: 98.16 kB / 0.7403 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1948, allocations: 95.39 MB / 0.8335 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001882/0.1967, allocations: 0.6077 MB / 0.8341 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1985, allocations: 1.305 MB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1986, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.1986, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.355e-05/0.1986, allocations: 7.938 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.199, allocations: 79.73 kB / 0.8354 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.1991, allocations: 19.97 kB / 0.8354 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1991, allocations: 7.938 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.1992, allocations: 19.92 kB / 0.8355 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1992, allocations: 15.86 kB / 0.8355 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1992, allocations: 4 kB / 0.8355 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.1995, allocations: 111.9 kB / 0.8356 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.1995, allocations: 7.969 kB / 0.8356 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.1996, allocations: 11.94 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1997, allocations: 80 kB / 0.8357 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1997, allocations: 0 / 0.8357 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1997, allocations: 0 / 0.8357 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.1998, allocations: 0 / 0.8357 GB, free: 6.016 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.0004729/0.2002, allocations: 282.2 kB / 0.8359 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2003, allocations: 9.344 kB / 0.836 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.2003, allocations: 4.188 kB / 0.836 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.2003, allocations: 34.75 kB / 0.836 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.2003, allocations: 0.9375 kB / 0.836 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2005, allocations: 106.5 kB / 0.8361 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2005, allocations: 8.359 kB / 0.8361 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2005, allocations: 12.27 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2007, allocations: 87.3 kB / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2007, allocations: 0 / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2007, allocations: 4 kB / 0.8362 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2007, allocations: 0 / 0.8362 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.2008, allocations: 23.98 kB / 0.8362 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.2009, allocations: 140.7 kB / 0.8364 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2011, allocations: 58.5 kB / 0.8364 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.2011, allocations: 24.84 kB / 0.8364 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.2014, allocations: 43.91 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2014, allocations: 34.56 kB / 0.8365 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2014, allocations: 3.938 kB / 0.8365 GB, free: 5.02 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.02163/0.223, allocations: 4.167 MB / 0.8406 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2231, allocations: 55.41 kB / 0.8406 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.2232, allocations: 89.86 kB / 0.8407 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.49e-05/0.2233, allocations: 37.77 kB / 0.8408 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.2233, allocations: 84.14 kB / 0.8408 GB, free: 480 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2234, allocations: 63.45 kB / 0.8409 GB, free: 416 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.2237, allocations: 89.67 kB / 0.841 GB, free: 320 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.2239, allocations: 326.8 kB / 0.8413 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.2244, allocations: 303.9 kB / 0.8416 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.225, allocations: 315.8 kB / 0.8419 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.2268, allocations: 0.7718 MB / 0.8426 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2268, allocations: 0 / 0.8426 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001685/0.2284, allocations: 0.7981 MB / 0.8434 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2285, allocations: 8 kB / 0.8434 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2285, allocations: 4 kB / 0.8434 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.2285, allocations: 0 / 0.8434 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.2293, allocations: 99.88 kB / 0.8435 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2293, allocations: 3.938 kB / 0.8435 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.2298, allocations: 8 kB / 0.8435 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.2299, allocations: 37.17 kB / 0.8436 GB, free: 13.64 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.0002821/0.2302, allocations: 122.5 kB / 0.8437 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.2302, allocations: 3.953 kB / 0.8437 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.2334, allocations: 1.411 MB / 0.8451 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2335, allocations: 4 kB / 0.8451 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2335, allocations: 0 / 0.8451 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2335, allocations: 3.984 kB / 0.8451 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.2366, allocations: 1.693 MB / 0.8467 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2366, allocations: 0 / 0.8467 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.2374, allocations: 107.9 kB / 0.8468 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.2374, allocations: 7.938 kB / 0.8468 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.2375, allocations: 31.98 kB / 0.8469 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2375, allocations: 0 / 0.8469 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2375, allocations: 4 kB / 0.8469 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.2402, allocations: 1.47 MB / 0.8483 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.2403, allocations: 15.92 kB / 0.8483 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.601e-05/0.2403, allocations: 11.94 kB / 0.8483 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.2408, allocations: 12 kB / 0.8484 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.241, allocations: 39.95 kB / 0.8484 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/0.2411, allocations: 40.05 kB / 0.8484 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.2411, allocations: 79.28 kB / 0.8485 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2411, allocations: 3.938 kB / 0.8485 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006432/0.2417, allocations: 179.7 kB / 0.8487 GB, free: 8.324 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.003464/0.2452, allocations: 2.131 MB / 0.8508 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.2466, allocations: 0.7168 MB / 0.8515 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.2466, allocations: 4 kB / 0.8515 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006605/0.2472, allocations: 399.7 kB / 0.8518 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2476, allocations: 20.22 kB / 0.8519 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008157/0.2557, allocations: 3.702 MB / 0.8555 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2559, allocations: 103.5 kB / 0.8556 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001085/0.257, allocations: 297.5 kB / 0.8559 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/0.2576, allocations: 119.4 kB / 0.856 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of SimCode: time 1.553e-06/0.2576, allocations: 0 / 0.856 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06203/0.3196, allocations: 13.87 MB / 0.8695 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.73, allocations: 6.203 kB / 0.8695 GB, free: 3.086 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 sys.exit(0), Time elapsed: 16.0994191049831] Failed to read output from testmodel.py, exit status != 0: 11.920184061978944 11.94681341 11.741987744 Calling exit ...