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.001562/0.001562, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001804/0.001804, allocations: 213 kB / 23.01 MB, free: 4.566 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002491/0.002491, allocations: 291.3 kB / 313.5 MB, free: 2.832 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.146/1.146, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.002837/0.002837, allocations: 103.3 kB / 0.7409 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1733, allocations: 95.38 MB / 0.834 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001923/0.1752, allocations: 0.6271 MB / 0.8346 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1771, allocations: 1.371 MB / 0.836 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.1771, allocations: 0 / 0.836 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1771, allocations: 4 kB / 0.836 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.848e-05/0.1772, allocations: 7.938 kB / 0.836 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.1776, allocations: 79.72 kB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.1776, allocations: 19.98 kB / 0.8361 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1777, allocations: 7.984 kB / 0.8361 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.1777, allocations: 15.98 kB / 0.8361 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.1778, allocations: 15.92 kB / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1778, allocations: 0 / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.1781, allocations: 115.8 kB / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1781, allocations: 11.94 kB / 0.8362 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1781, allocations: 7.938 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1783, allocations: 83.7 kB / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1783, allocations: 3.938 kB / 0.8363 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1783, allocations: 0 / 0.8363 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1783, allocations: 0 / 0.8363 GB, free: 5.727 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.0004414/0.1787, allocations: 278.2 kB / 0.8366 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1787, allocations: 8.75 kB / 0.8366 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1788, allocations: 4.938 kB / 0.8366 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1789, allocations: 110.5 kB / 0.8367 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1789, allocations: 384 / 0.8367 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1789, allocations: 8.375 kB / 0.8367 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.179, allocations: 57.92 kB / 0.8368 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1791, allocations: 0 / 0.8368 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1791, allocations: 4 kB / 0.8368 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1791, allocations: 4 kB / 0.8368 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/0.1791, allocations: 19.98 kB / 0.8368 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1793, allocations: 144.7 kB / 0.8369 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1795, allocations: 54.55 kB / 0.837 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.1795, allocations: 24.86 kB / 0.837 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.1797, allocations: 43.94 kB / 0.837 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1798, allocations: 46.44 kB / 0.8371 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1798, allocations: 0 / 0.8371 GB, free: 4.812 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.01905/0.1988, allocations: 4.168 MB / 0.8412 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1989, allocations: 51.41 kB / 0.8412 GB, free: 500 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.199, allocations: 97.86 kB / 0.8413 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.199, allocations: 29.7 kB / 0.8413 GB, free: 356 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.1991, allocations: 80.14 kB / 0.8414 GB, free: 272 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1992, allocations: 59.48 kB / 0.8415 GB, free: 212 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.1994, allocations: 89.66 kB / 0.8415 GB, free: 116 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1996, allocations: 322.8 kB / 0.8418 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.2001, allocations: 311.9 kB / 0.8421 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.2006, allocations: 307.8 kB / 0.8424 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.2022, allocations: 0.7798 MB / 0.8432 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2022, allocations: 0 / 0.8432 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001546/0.2037, allocations: 0.8079 MB / 0.844 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2037, allocations: 4 kB / 0.844 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2037, allocations: 3.938 kB / 0.844 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2037, allocations: 0 / 0.844 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.2045, allocations: 91.94 kB / 0.8441 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2045, allocations: 4 kB / 0.8441 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.205, allocations: 8 kB / 0.8441 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.2051, allocations: 31.98 kB / 0.8441 GB, free: 13.45 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.0002011/0.2053, allocations: 130.4 kB / 0.8443 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.2053, allocations: 7.953 kB / 0.8443 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.2085, allocations: 1.403 MB / 0.8456 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2085, allocations: 4 kB / 0.8456 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2085, allocations: 0 / 0.8456 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2085, allocations: 0 / 0.8456 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.2116, allocations: 1.786 MB / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2116, allocations: 0 / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.2124, allocations: 107.9 kB / 0.8475 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.2124, allocations: 4 kB / 0.8475 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.2125, allocations: 31.92 kB / 0.8475 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2125, allocations: 4.031 kB / 0.8475 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2125, allocations: 4 kB / 0.8475 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.2149, allocations: 1.466 MB / 0.849 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.2149, allocations: 15.88 kB / 0.849 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.215, allocations: 15.94 kB / 0.849 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.2155, allocations: 11.94 kB / 0.849 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.2156, allocations: 47.89 kB / 0.849 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.2157, allocations: 32.06 kB / 0.8491 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.2157, allocations: 79.27 kB / 0.8491 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2157, allocations: 0 / 0.8491 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006261/0.2164, allocations: 187.7 kB / 0.8493 GB, free: 8.031 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.0005361/0.2169, allocations: 226.7 kB / 0.8495 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.2183, allocations: 0.7106 MB / 0.8502 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2183, allocations: 0 / 0.8502 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/0.219, allocations: 407.7 kB / 0.8506 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2193, allocations: 16.56 kB / 0.8506 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.2226, allocations: 0.8261 MB / 0.8514 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.223, allocations: 0.7141 MB / 0.8521 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.2236, allocations: 99.47 kB / 0.8522 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.2236, allocations: 3.938 kB / 0.8522 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of Templates: time 0.0142/0.2378, allocations: 7.104 MB / 0.8592 GB, free: 13.95 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.191322162048891] Failed to read output from testmodel.py, exit status != 0: 0.24550035689026117 0.26099682700000004 0.079617424 Calling exit ...