Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001205/0.001205, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00164/0.001641, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5663/0.5663, allocations: 95.57 MB / 365.9 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005719/0.0005722, allocations: 24 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2834, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0005678/0.2841, allocations: 269.7 kB / 0.5053 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.285, allocations: 1.017 MB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.082e-05/0.285, allocations: 0 / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.536e-06/0.285, allocations: 0 / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.285, allocations: 0 / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.2853, allocations: 51.81 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.353e-05/0.2853, allocations: 4 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2854, allocations: 3.984 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.397e-05/0.2854, allocations: 4 kB / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.2855, allocations: 8 kB / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.2855, allocations: 0 / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2856, allocations: 83.89 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.2856, allocations: 0 / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.2856, allocations: 29.7 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.609e-05/0.2857, allocations: 35.95 kB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.2857, allocations: 0 / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2857, allocations: 0 / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2858, allocations: 0 / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002187/0.286, allocations: 323.4 kB / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.286, allocations: 11.98 kB / 0.5068 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.2861, allocations: 15.84 kB / 0.5068 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.304e-05/0.2861, allocations: 163 kB / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2861, allocations: 0 / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.2862, allocations: 0 / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.2862, allocations: 37.64 kB / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2863, allocations: 0 / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2863, allocations: 4 kB / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.2863, allocations: 0 / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.2863, allocations: 4 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.2864, allocations: 153.7 kB / 0.5072 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.2865, allocations: 26.55 kB / 0.5072 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.2869, allocations: 0.5584 MB / 0.5077 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2869, allocations: 34.56 kB / 0.5078 GB, free: 13.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2869, allocations: 0 / 0.5078 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004107/0.2873, allocations: 256.3 kB / 0.508 GB, free: 13.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.2873, allocations: 51.41 kB / 0.5081 GB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.737e-05/0.2874, allocations: 89.86 kB / 0.5081 GB, free: 12.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.2874, allocations: 25.7 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.331e-05/0.2874, allocations: 84.36 kB / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2874, allocations: 11.81 kB / 0.5083 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.2874, allocations: 7.938 kB / 0.5083 GB, free: 12.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.2875, allocations: 318.8 kB / 0.5086 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.2875, allocations: 4 kB / 0.5086 GB, free: 12.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.2875, allocations: 21.75 kB / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.2875, allocations: 7.938 kB / 0.5086 GB, free: 12.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.2875, allocations: 4 kB / 0.5086 GB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.188e-05/0.2876, allocations: 53.69 kB / 0.5087 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2876, allocations: 4 kB / 0.5087 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2876, allocations: 0 / 0.5087 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2877, allocations: 3.953 kB / 0.5087 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.2877, allocations: 15.92 kB / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2877, allocations: 0 / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.2877, allocations: 0 / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2878, allocations: 8 kB / 0.5087 GB, free: 12.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.374e-05/0.2878, allocations: 109.9 kB / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.2878, allocations: 7.938 kB / 0.5088 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2879, allocations: 53.19 kB / 0.5088 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2879, allocations: 3.953 kB / 0.5089 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.288, allocations: 0 / 0.5089 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.288, allocations: 7.984 kB / 0.5089 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.475e-05/0.288, allocations: 145.7 kB / 0.509 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.288, allocations: 0 / 0.509 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.2881, allocations: 15.92 kB / 0.509 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2881, allocations: 0 / 0.509 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.2881, allocations: 4 kB / 0.509 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2881, allocations: 0 / 0.509 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2881, allocations: 3.953 kB / 0.509 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.2882, allocations: 73.12 kB / 0.5091 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.2882, allocations: 77.11 kB / 0.5092 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2882, allocations: 0 / 0.5092 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.2883, allocations: 4 kB / 0.5092 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.2883, allocations: 8.016 kB / 0.5092 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2883, allocations: 3.953 kB / 0.5092 GB, free: 11.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.254e-05/0.2883, allocations: 75.28 kB / 0.5093 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2883, allocations: 0 / 0.5093 GB, free: 11.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.2885, allocations: 20 kB / 0.5093 GB, free: 11.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001357/0.2887, allocations: 127.2 kB / 0.5094 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.2888, allocations: 23.92 kB / 0.5094 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2888, allocations: 0 / 0.5094 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.2888, allocations: 8 kB / 0.5094 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.874e-05/0.2889, allocations: 0 / 0.5094 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.2891, allocations: 104.6 kB / 0.5095 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.2892, allocations: 0.6848 MB / 0.5102 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.88e-05/0.2892, allocations: 8.125 kB / 0.5102 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.2892, allocations: 7.438 kB / 0.5102 GB, free: 10.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2892, allocations: 0 / 0.5102 GB, free: 10.6 MB / 382.1 MB Notification: Performance of Templates: time 0.002292/0.2915, allocations: 0.5916 MB / 0.5108 GB, free: 10.01 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: