Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001402/0.001402, allocations: 103.6 kB / 16.27 MB, free: 5.988 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.001749/0.001749, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.578/1.578, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.933/1.933, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.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.001684/0.001684, allocations: 70.91 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2685, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0023/0.2708, allocations: 0.6136 MB / 0.7846 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.2728, allocations: 1.315 MB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.2728, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.2729, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.674e-05/0.2729, allocations: 3.938 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.2734, allocations: 71.73 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.2735, allocations: 19.98 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.2735, allocations: 3.984 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.2735, allocations: 15.94 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.2736, allocations: 23.91 kB / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2736, allocations: 0 / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.2739, allocations: 91.91 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2739, allocations: 3.984 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.274, allocations: 15.92 kB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2741, allocations: 59.86 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2741, allocations: 4 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2741, allocations: 0 / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2741, allocations: 0 / 0.7862 GB, free: 1.652 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.0004828/0.2746, allocations: 355.8 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2747, allocations: 8.031 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.2747, allocations: 8.844 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2749, allocations: 164.3 kB / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2749, allocations: 384 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.2749, allocations: 8.375 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.2751, allocations: 53.98 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2751, allocations: 0 / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2751, allocations: 11.92 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.2751, allocations: 4 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.2752, allocations: 23.98 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.2754, allocations: 165.7 kB / 0.787 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.2756, allocations: 62.48 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.2756, allocations: 20.86 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5502/0.8258, allocations: 0.5537 MB / 0.7876 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.8259, allocations: 42.75 kB / 0.7876 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 4.769e-06/0.826, allocations: 0 / 0.7876 GB, free: 48.58 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.01895/0.8449, allocations: 4.303 MB / 0.7919 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.845, allocations: 58.81 kB / 0.7919 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.8451, allocations: 89.86 kB / 0.792 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.8451, allocations: 29.17 kB / 0.792 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.8452, allocations: 84.02 kB / 0.7921 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.8453, allocations: 50.67 kB / 0.7921 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.8455, allocations: 95.14 kB / 0.7922 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.8456, allocations: 322.2 kB / 0.7925 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.846, allocations: 312.2 kB / 0.7928 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.8465, allocations: 309 kB / 0.7931 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.8478, allocations: 0.759 MB / 0.7939 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.8478, allocations: 0.5625 kB / 0.7939 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001392/0.8492, allocations: 0.7839 MB / 0.7946 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8492, allocations: 5.75 kB / 0.7947 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8492, allocations: 0 / 0.7947 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8493, allocations: 2.562 kB / 0.7947 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.8501, allocations: 95.33 kB / 0.7947 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8501, allocations: 6.938 kB / 0.7948 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.8506, allocations: 9.375 kB / 0.7948 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.8507, allocations: 36.84 kB / 0.7948 GB, free: 46.96 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.0001779/0.8509, allocations: 120.1 kB / 0.7949 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.851, allocations: 6.766 kB / 0.7949 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.8541, allocations: 1.395 MB / 0.7963 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.8542, allocations: 7.094 kB / 0.7963 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.8542, allocations: 0.5 kB / 0.7963 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.8542, allocations: 5.141 kB / 0.7963 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.857, allocations: 1.805 MB / 0.7981 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.8571, allocations: 1.438 kB / 0.7981 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.8579, allocations: 116 kB / 0.7982 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.8579, allocations: 0 / 0.7982 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.858, allocations: 26.12 kB / 0.7982 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.858, allocations: 6.156 kB / 0.7982 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.858, allocations: 0 / 0.7982 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.8605, allocations: 1.463 MB / 0.7996 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.8605, allocations: 95.12 kB / 0.7997 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.8606, allocations: 6.656 kB / 0.7997 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.8612, allocations: 17.27 kB / 0.7997 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.8613, allocations: 37.84 kB / 0.7998 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/0.8614, allocations: 34.06 kB / 0.7998 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.763e-05/0.8615, allocations: 80.19 kB / 0.7999 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8615, allocations: 0 / 0.7999 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006873/0.8621, allocations: 172.3 kB / 0.8 GB, free: 44.22 MB / 0.6544 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.0005367/0.8627, allocations: 229.7 kB / 0.8003 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.8642, allocations: 0.736 MB / 0.801 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8643, allocations: 0 / 0.801 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.865, allocations: 454.5 kB / 0.8014 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.8653, allocations: 19.84 kB / 0.8014 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.869, allocations: 0.8232 MB / 0.8022 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.8692, allocations: 0.7174 MB / 0.8029 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.8698, allocations: 96.66 kB / 0.803 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of SimCode: time 6.52e-07/0.8698, allocations: 0 / 0.803 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.0158/0.8856, allocations: 6.859 MB / 0.8097 GB, free: 42.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)