Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.818/1.818, allocations: 288.4 MB / 303.4 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 181.6 kB / 372 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007159/0.0007161, allocations: 98.3 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 17.61 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0005913/0.1811, allocations: 343.7 kB / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1824, allocations: 1.266 MB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1824, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-06/0.1824, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.242e-05/0.1825, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1828, allocations: 59.81 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.1828, allocations: 15.98 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.1829, allocations: 7.984 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.1829, allocations: 4 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.1829, allocations: 15.92 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.183, allocations: 0 / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.1832, allocations: 91.89 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.1832, allocations: 7.938 kB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1832, allocations: 33.69 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.735e-05/0.1833, allocations: 39.95 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1833, allocations: 4 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1833, allocations: 3.984 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1833, allocations: 0 / 0.9814 GB, free: 25.73 MB / 0.6198 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.0003182/0.1837, allocations: 339.6 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1837, allocations: 12.02 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1838, allocations: 7.906 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.1838, allocations: 163 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1839, allocations: 8 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1839, allocations: 11.98 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.184, allocations: 49.62 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.184, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1841, allocations: 11.94 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1841, allocations: 0 / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.1841, allocations: 19.98 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1843, allocations: 177.5 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.1844, allocations: 62.5 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.1844, allocations: 24.84 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.1848, allocations: 0.5622 MB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1848, allocations: 30.56 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1848, allocations: 0 / 0.9829 GB, free: 23.97 MB / 0.6198 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.01791/0.2027, allocations: 4.212 MB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2028, allocations: 63.34 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.295e-05/0.2028, allocations: 89.86 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.2029, allocations: 29.7 kB / 0.9871 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.2029, allocations: 84.14 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.203, allocations: 51.2 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.2031, allocations: 8.125 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.2031, allocations: 318.8 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.2036, allocations: 307.9 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.204, allocations: 317 kB / 0.9882 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.2047, allocations: 381.2 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2047, allocations: 4 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001344/0.206, allocations: 0.7879 MB / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2061, allocations: 4 kB / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2061, allocations: 0 / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2061, allocations: 3.938 kB / 0.9893 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.2068, allocations: 95.94 kB / 0.9894 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2068, allocations: 7.953 kB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.2073, allocations: 8 kB / 0.9894 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.2074, allocations: 35.97 kB / 0.9895 GB, free: 17.01 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.2076, allocations: 117.8 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.2077, allocations: 7.906 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.2107, allocations: 1.388 MB / 0.9909 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2107, allocations: 4 kB / 0.9909 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2107, allocations: 0 / 0.9909 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2107, allocations: 7.938 kB / 0.991 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.2131, allocations: 1.799 MB / 0.9927 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2131, allocations: 0 / 0.9927 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.2138, allocations: 115.9 kB / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2138, allocations: 0 / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.2139, allocations: 28 kB / 0.9928 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2139, allocations: 4 kB / 0.9929 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2139, allocations: 0 / 0.9929 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.2159, allocations: 1.449 MB / 0.9943 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.216, allocations: 88.95 kB / 0.9944 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.2161, allocations: 16.02 kB / 0.9944 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.2165, allocations: 15.98 kB / 0.9944 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.2167, allocations: 39.97 kB / 0.9944 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.2167, allocations: 39.94 kB / 0.9945 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.2167, allocations: 75.28 kB / 0.9945 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2168, allocations: 0 / 0.9945 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005292/0.2173, allocations: 176 kB / 0.9947 GB, free: 11.54 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.2178, allocations: 219.1 kB / 0.9949 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.2188, allocations: 0.7191 MB / 0.9956 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2189, allocations: 0 / 0.9956 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.2194, allocations: 455.6 kB / 0.996 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.2197, allocations: 16 kB / 0.9961 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.2226, allocations: 0.8505 MB / 0.9969 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2227, allocations: 0.7145 MB / 0.9976 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00142/0.2242, allocations: 302.2 kB / 0.9979 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/0.2247, allocations: 91.41 kB / 0.998 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.2247, allocations: 0 / 0.998 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of Templates: time 0.01368/0.2384, allocations: 10.38 MB / 1.008 GB, free: 13.78 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)