Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004803/0.004803, allocations: 102.6 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 190.7 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.91 kB / 0.7258 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 104.7 MB / 0.8281 GB, free: 292 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001961/0.184, allocations: 0.6137 MB / 0.8287 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1858, allocations: 1.319 MB / 0.83 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.1859, allocations: 0 / 0.83 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.1859, allocations: 3.938 kB / 0.83 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.1859, allocations: 0 / 0.83 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.1864, allocations: 71.73 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.1865, allocations: 27.91 kB / 0.8301 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.1865, allocations: 4 kB / 0.8301 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1866, allocations: 8 kB / 0.8301 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.1866, allocations: 11.92 kB / 0.8301 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1867, allocations: 4 kB / 0.8301 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1869, allocations: 99.89 kB / 0.8302 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.1869, allocations: 7.984 kB / 0.8302 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.187, allocations: 11.92 kB / 0.8302 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1871, allocations: 63.86 kB / 0.8303 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1872, allocations: 0 / 0.8303 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1872, allocations: 0 / 0.8303 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1872, allocations: 0 / 0.8303 GB, free: 14.03 MB / 0.6544 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.0005614/0.1877, allocations: 351.4 kB / 0.8306 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1878, allocations: 12.03 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.1879, allocations: 8.938 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.188, allocations: 172.2 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.188, allocations: 8.312 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.1881, allocations: 384 / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1882, allocations: 54 kB / 0.8309 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1882, allocations: 3.906 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1883, allocations: 4 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.1883, allocations: 0 / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1883, allocations: 23.97 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.1886, allocations: 169.7 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1887, allocations: 62.5 kB / 0.8311 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.1887, allocations: 28.84 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/0.1892, allocations: 0.5505 MB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1892, allocations: 38.5 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1892, allocations: 4 kB / 0.8317 GB, free: 12.27 MB / 0.6544 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.01815/0.2074, allocations: 4.297 MB / 0.8359 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.2074, allocations: 63.39 kB / 0.836 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.2075, allocations: 89.86 kB / 0.8361 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.2076, allocations: 29.7 kB / 0.8361 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.2076, allocations: 84.08 kB / 0.8362 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.2077, allocations: 59.11 kB / 0.8362 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2079, allocations: 93.61 kB / 0.8363 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.208, allocations: 326.7 kB / 0.8366 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.2085, allocations: 308 kB / 0.8369 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.209, allocations: 322.5 kB / 0.8372 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.2103, allocations: 0.7429 MB / 0.8379 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2103, allocations: 0 / 0.8379 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001401/0.2117, allocations: 0.7966 MB / 0.8387 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2118, allocations: 4 kB / 0.8387 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2118, allocations: 0.9375 kB / 0.8387 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2118, allocations: 4 kB / 0.8387 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.2126, allocations: 91.89 kB / 0.8388 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2126, allocations: 0 / 0.8388 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.2131, allocations: 8 kB / 0.8388 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/0.2132, allocations: 39.97 kB / 0.8389 GB, free: 4.746 MB / 0.6544 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.0001852/0.2134, allocations: 121.8 kB / 0.839 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.2135, allocations: 11.91 kB / 0.839 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.2163, allocations: 1.392 MB / 0.8404 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2163, allocations: 4 kB / 0.8404 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2163, allocations: 0 / 0.8404 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2163, allocations: 3.984 kB / 0.8404 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.219, allocations: 1.806 MB / 0.8421 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.219, allocations: 0 / 0.8421 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.2198, allocations: 107.9 kB / 0.8422 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.2198, allocations: 4 kB / 0.8422 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.2199, allocations: 35.95 kB / 0.8423 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2199, allocations: 0 / 0.8423 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2199, allocations: 4 kB / 0.8423 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.2221, allocations: 1.455 MB / 0.8437 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.2221, allocations: 96.95 kB / 0.8438 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.2222, allocations: 7.938 kB / 0.8438 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.2227, allocations: 12 kB / 0.8438 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.2229, allocations: 44.03 kB / 0.8438 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.2229, allocations: 31.98 kB / 0.8439 GB, free: 15.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.223, allocations: 79.28 kB / 0.8439 GB, free: 15.42 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.223, allocations: 0 / 0.8439 GB, free: 15.42 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005577/0.2235, allocations: 168 kB / 0.8441 GB, free: 15.26 MB / 0.67 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.0004757/0.224, allocations: 219.1 kB / 0.8443 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2252, allocations: 0.7263 MB / 0.845 GB, free: 14.31 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2252, allocations: 11.88 kB / 0.845 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.2258, allocations: 451.7 kB / 0.8455 GB, free: 13.86 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.2261, allocations: 22.56 kB / 0.8455 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.2294, allocations: 0.8045 MB / 0.8463 GB, free: 13 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2297, allocations: 0.7143 MB / 0.847 GB, free: 12.26 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009192/0.2306, allocations: 293.5 kB / 0.8473 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.2311, allocations: 99.41 kB / 0.8473 GB, free: 11.88 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.2311, allocations: 0 / 0.8473 GB, free: 11.88 MB / 0.67 GB Notification: Performance of Templates: time 0.01414/0.2453, allocations: 11.23 MB / 0.8583 GB, free: 0.7227 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)