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.006315/0.006315, allocations: 101 kB / 15.73 MB, free: 6.012 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.001469/0.001469, allocations: 196.7 kB / 16.67 MB, free: 5.934 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.237/1.237, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.42/1.42, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001386/0.001386, allocations: 67.89 kB / 0.7258 GB, free: 8.922 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1796, allocations: 104.7 MB / 0.8281 GB, free: 104 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001537/0.1812, allocations: 0.6207 MB / 0.8287 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1827, allocations: 1.323 MB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.1827, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1827, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.1828, allocations: 3.938 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1831, allocations: 67.8 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.1832, allocations: 35.84 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.1832, allocations: 0 / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.1833, allocations: 12 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.1833, allocations: 15.92 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1833, allocations: 0 / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1835, allocations: 95.89 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.1836, allocations: 7.969 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1836, allocations: 11.94 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1837, allocations: 63.86 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1837, allocations: 0 / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1837, allocations: 4 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1837, allocations: 0 / 0.8303 GB, free: 13.84 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.0004062/0.1842, allocations: 355.4 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1842, allocations: 8.031 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1842, allocations: 4.938 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.785e-05/0.1843, allocations: 160.4 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1844, allocations: 4.312 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1844, allocations: 12.31 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1845, allocations: 57.98 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1846, allocations: 3.906 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1846, allocations: 4 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1846, allocations: 4 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.1846, allocations: 19.98 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.1848, allocations: 169.6 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.185, allocations: 58.5 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.185, allocations: 28.84 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/0.1855, allocations: 0.5544 MB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1855, allocations: 38.5 kB / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1855, allocations: 3.938 kB / 0.8317 GB, free: 12.08 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.01769/0.2032, allocations: 4.298 MB / 0.8359 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.2033, allocations: 51.41 kB / 0.836 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.2033, allocations: 93.86 kB / 0.8361 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.2034, allocations: 33.69 kB / 0.8361 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.2034, allocations: 84.08 kB / 0.8362 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.2035, allocations: 63.23 kB / 0.8362 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.2038, allocations: 85.67 kB / 0.8363 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.2039, allocations: 326.8 kB / 0.8366 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.2044, allocations: 311.9 kB / 0.8369 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.2048, allocations: 306.7 kB / 0.8372 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2062, allocations: 0.7545 MB / 0.838 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2062, allocations: 0 / 0.838 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001389/0.2076, allocations: 0.7929 MB / 0.8387 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2076, allocations: 4 kB / 0.8387 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2077, allocations: 4 kB / 0.8387 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2077, allocations: 0 / 0.8387 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.2084, allocations: 99.88 kB / 0.8388 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2084, allocations: 4 kB / 0.8388 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.2088, allocations: 4 kB / 0.8388 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.2089, allocations: 35.97 kB / 0.8389 GB, free: 4.559 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.0001615/0.2091, allocations: 125.7 kB / 0.839 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.2092, allocations: 7.906 kB / 0.839 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.2119, allocations: 1.388 MB / 0.8404 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2119, allocations: 8 kB / 0.8404 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2119, allocations: 4 kB / 0.8404 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2119, allocations: 3.984 kB / 0.8404 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.2146, allocations: 1.802 MB / 0.8421 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2146, allocations: 0 / 0.8421 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.2153, allocations: 111.9 kB / 0.8422 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2153, allocations: 0 / 0.8422 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.2154, allocations: 35.94 kB / 0.8423 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2154, allocations: 3.984 kB / 0.8423 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2154, allocations: 0 / 0.8423 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.2175, allocations: 1.463 MB / 0.8437 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.2176, allocations: 88.95 kB / 0.8438 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.2177, allocations: 15.92 kB / 0.8438 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.2181, allocations: 8 kB / 0.8438 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.2182, allocations: 43.97 kB / 0.8439 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.2183, allocations: 32 kB / 0.8439 GB, free: 15.31 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.2183, allocations: 75.28 kB / 0.844 GB, free: 15.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2184, allocations: 0 / 0.844 GB, free: 15.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000515/0.2189, allocations: 176.1 kB / 0.8441 GB, free: 15.06 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.0004458/0.2193, allocations: 219.1 kB / 0.8443 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.2205, allocations: 0.7223 MB / 0.845 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2205, allocations: 3.938 kB / 0.845 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.2211, allocations: 455.7 kB / 0.8455 GB, free: 13.67 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2214, allocations: 19.94 kB / 0.8455 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.2242, allocations: 0.7969 MB / 0.8463 GB, free: 12.82 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.2245, allocations: 0.7181 MB / 0.847 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008722/0.2253, allocations: 297.5 kB / 0.8473 GB, free: 11.78 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.2258, allocations: 95.41 kB / 0.8473 GB, free: 11.69 MB / 0.67 GB Notification: Performance of SimCode: time 4.5e-07/0.2258, allocations: 0 / 0.8473 GB, free: 11.69 MB / 0.67 GB Notification: Performance of Templates: time 0.0143/0.2401, allocations: 11.23 MB / 0.8583 GB, free: 0.5273 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)