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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001737/0.001737, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.557/1.557, allocations: 205.1 MB / 222 MB, free: 4.77 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.5868/0.5868, allocations: 95.47 MB / 364.8 MB, free: 10.11 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.001448/0.001448, allocations: 68.47 kB / 444.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 69.07 MB / 0.5017 GB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0016/0.3401, allocations: 0.6016 MB / 0.5023 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3412, allocations: 1.049 MB / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-06/0.3412, allocations: 4 kB / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.3413, allocations: 0 / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.3413, allocations: 0 / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.3416, allocations: 47.83 kB / 0.5034 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.3416, allocations: 11.98 kB / 0.5034 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.3417, allocations: 0 / 0.5034 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.3417, allocations: 11.94 kB / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.3418, allocations: 3.984 kB / 0.5034 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.3418, allocations: 4 kB / 0.5034 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3419, allocations: 91.89 kB / 0.5035 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.342, allocations: 4 kB / 0.5035 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.342, allocations: 0 / 0.5035 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3421, allocations: 43.94 kB / 0.5035 GB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3421, allocations: 0 / 0.5035 GB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3421, allocations: 4 kB / 0.5035 GB, free: 15.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3421, allocations: 4 kB / 0.5035 GB, free: 15.82 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.0002536/0.3424, allocations: 339.5 kB / 0.5039 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3424, allocations: 11.98 kB / 0.5039 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.3425, allocations: 4.844 kB / 0.5039 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.886e-05/0.3425, allocations: 164.4 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3425, allocations: 4.375 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3426, allocations: 11.94 kB / 0.504 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3427, allocations: 37.58 kB / 0.5041 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3427, allocations: 4 kB / 0.5041 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3427, allocations: 0 / 0.5041 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3427, allocations: 3.984 kB / 0.5041 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.3428, allocations: 4 kB / 0.5041 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.3429, allocations: 145.7 kB / 0.5042 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/0.3429, allocations: 26.59 kB / 0.5043 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.343, allocations: 12.86 kB / 0.5043 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004295/0.3434, allocations: 0.5622 MB / 0.5048 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3434, allocations: 30.56 kB / 0.5049 GB, free: 14.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.3434, allocations: 0 / 0.5049 GB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004392/0.3439, allocations: 252.4 kB / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.3439, allocations: 59.61 kB / 0.5051 GB, free: 13.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.655e-05/0.3439, allocations: 89.86 kB / 0.5052 GB, free: 13.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.3439, allocations: 25.7 kB / 0.5053 GB, free: 13.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.594e-05/0.344, allocations: 80.14 kB / 0.5053 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.344, allocations: 11.81 kB / 0.5053 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.344, allocations: 13.72 kB / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.3441, allocations: 318.8 kB / 0.5057 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.3441, allocations: 7.984 kB / 0.5057 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.3441, allocations: 17.72 kB / 0.5057 GB, free: 13.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.3442, allocations: 29.66 kB / 0.5057 GB, free: 13.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.3442, allocations: 0 / 0.5057 GB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.547e-05/0.3443, allocations: 53.62 kB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3443, allocations: 4 kB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3443, allocations: 0 / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3443, allocations: 7.938 kB / 0.5058 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.3444, allocations: 12 kB / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3444, allocations: 0 / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.3444, allocations: 7.984 kB / 0.5058 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3444, allocations: 0 / 0.5058 GB, free: 13.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3445, allocations: 113.8 kB / 0.5059 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.3445, allocations: 0 / 0.5059 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.3446, allocations: 65.3 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3446, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3446, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.3447, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/0.3447, allocations: 169.5 kB / 0.5061 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3448, allocations: 0 / 0.5061 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.3448, allocations: 8 kB / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3448, allocations: 0 / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3448, allocations: 7.984 kB / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3448, allocations: 0 / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3448, allocations: 0 / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/0.3449, allocations: 73.06 kB / 0.5062 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.345, allocations: 77.11 kB / 0.5063 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.345, allocations: 12.03 kB / 0.5063 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.345, allocations: 0 / 0.5063 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.3451, allocations: 3.984 kB / 0.5063 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3451, allocations: 8.062 kB / 0.5063 GB, free: 12.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.722e-05/0.3451, allocations: 75.28 kB / 0.5064 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.3451, allocations: 0 / 0.5064 GB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.3454, allocations: 19.94 kB / 0.5064 GB, free: 12.38 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 (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.00015/0.3456, allocations: 119.2 kB / 0.5065 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.3457, allocations: 19.98 kB / 0.5065 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3457, allocations: 0 / 0.5065 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.3457, allocations: 4.125 kB / 0.5065 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3458, allocations: 15.94 kB / 0.5066 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.3461, allocations: 111.3 kB / 0.5067 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3462, allocations: 0.6731 MB / 0.5073 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.3462, allocations: 11.98 kB / 0.5073 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.3462, allocations: 11.44 kB / 0.5073 GB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3463, allocations: 0 / 0.5073 GB, free: 11.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002457/0.3487, allocations: 0.6055 MB / 0.5079 GB, free: 10.75 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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)