Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 194.2 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.76/2.76, allocations: 205.4 MB / 0.5766 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 90.34 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004602, allocations: 11.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2163/0.4366, allocations: 131.9 MB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.437, allocations: 79.94 kB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008786/0.4458, allocations: 1.842 MB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.948e-06/0.4459, allocations: 4 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4459, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004696/0.4464, allocations: 359.1 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4464, allocations: 8.031 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.4465, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4466, allocations: 167 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4467, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4467, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4469, allocations: 49.62 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4469, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4469, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4469, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.284e-05/0.447, allocations: 12 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.4472, allocations: 165.7 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4473, allocations: 38.56 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.4479, allocations: 0.5583 MB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.448, allocations: 38.5 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 3.387e-06/0.448, allocations: 3.984 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002637/0.4507, allocations: 459 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4507, allocations: 51.41 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.4508, allocations: 92.98 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4509, allocations: 29.7 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.4509, allocations: 84.12 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.451, allocations: 23.66 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.451, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4511, allocations: 318.8 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.4512, allocations: 24.12 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.4513, allocations: 19.98 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.4514, allocations: 23.94 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4514, allocations: 3.938 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002253/0.4516, allocations: 85.72 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4516, allocations: 7.938 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4516, allocations: 4 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4517, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.4519, allocations: 15.98 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4519, allocations: 0 / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.452, allocations: 8.438 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.452, allocations: 4 kB / 1.032 GB, free: 8.453 MB / 0.6823 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 (9): * Single equations (assignments): 9 * 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.0001004/0.4521, allocations: 113.8 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.4521, allocations: 4 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.4525, allocations: 105.6 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4525, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4525, allocations: 4 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4525, allocations: 0 / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.4527, allocations: 169.6 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4527, allocations: 4 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.4529, allocations: 15.98 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4529, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4529, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4529, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4529, allocations: 4 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.4533, allocations: 144.9 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.4534, allocations: 77.11 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4534, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.4535, allocations: 8.016 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.4535, allocations: 0 / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4535, allocations: 4 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.4536, allocations: 83.34 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4536, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003268/0.4539, allocations: 35.92 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0002679/0.4542, allocations: 143.1 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.4544, allocations: 51.95 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4545, allocations: 0 / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.4545, allocations: 28 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4547, allocations: 7.938 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.4552, allocations: 157 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4555, allocations: 0.6863 MB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.4557, allocations: 8.578 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.4557, allocations: 11.44 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.4557, allocations: 4 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of Templates: time 0.00385/0.4596, allocations: 0.7357 MB / 1.035 GB, free: 5.711 MB / 0.6823 GB