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.0009932/0.0009934, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006907/0.006907, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.624/1.624, allocations: 205.4 MB / 222.4 MB, free: 5.781 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.6623/0.6623, allocations: 95.64 MB / 366.4 MB, free: 10.29 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.0005606/0.0005606, allocations: 20 kB / 447.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4637, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008504/0.4646, allocations: 273 kB / 0.5059 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4658, allocations: 1.045 MB / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.4658, allocations: 0 / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.4658, allocations: 0 / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.4658, allocations: 0 / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.4662, allocations: 51.89 kB / 0.507 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.4663, allocations: 11.98 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.4663, allocations: 0 / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.4664, allocations: 4 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.4664, allocations: 7.922 kB / 0.507 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.4665, allocations: 0 / 0.507 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.4667, allocations: 99.83 kB / 0.5071 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.4667, allocations: 4 kB / 0.5071 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.4667, allocations: 29.7 kB / 0.5072 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.4669, allocations: 43.94 kB / 0.5072 GB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4669, allocations: 4 kB / 0.5072 GB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4669, allocations: 0 / 0.5072 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4669, allocations: 0 / 0.5072 GB, free: 14.75 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.0002863/0.4672, allocations: 327.6 kB / 0.5075 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4672, allocations: 11.98 kB / 0.5075 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.4673, allocations: 4.844 kB / 0.5075 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.672e-05/0.4673, allocations: 168.4 kB / 0.5077 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4674, allocations: 4.375 kB / 0.5077 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.4674, allocations: 7.938 kB / 0.5077 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4675, allocations: 33.7 kB / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4675, allocations: 3.938 kB / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4675, allocations: 0 / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4675, allocations: 0 / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.4676, allocations: 11.92 kB / 0.5077 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.4677, allocations: 145.7 kB / 0.5079 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.4678, allocations: 26.55 kB / 0.5079 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.4678, allocations: 16.84 kB / 0.5079 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.4682, allocations: 0.5545 MB / 0.5085 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4683, allocations: 30.56 kB / 0.5085 GB, free: 13.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.4683, allocations: 4 kB / 0.5085 GB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005113/0.4688, allocations: 252.6 kB / 0.5087 GB, free: 12.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.4688, allocations: 55.34 kB / 0.5088 GB, free: 12.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.138e-05/0.4689, allocations: 97.78 kB / 0.5089 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4689, allocations: 25.7 kB / 0.5089 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.4689, allocations: 80.14 kB / 0.509 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.4689, allocations: 15.81 kB / 0.509 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.469, allocations: 9.719 kB / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.469, allocations: 310.8 kB / 0.5093 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.4691, allocations: 12 kB / 0.5093 GB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.4691, allocations: 17.7 kB / 0.5093 GB, free: 12.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.4691, allocations: 25.72 kB / 0.5094 GB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4691, allocations: 0 / 0.5094 GB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.626e-05/0.4692, allocations: 53.56 kB / 0.5094 GB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4692, allocations: 10.03 kB / 0.5094 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4692, allocations: 4.062 kB / 0.5094 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4693, allocations: 0 / 0.5094 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.4693, allocations: 8 kB / 0.5094 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4693, allocations: 0 / 0.5094 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.4693, allocations: 4 kB / 0.5094 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4694, allocations: 4 kB / 0.5094 GB, free: 12.04 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 6.213e-05/0.4694, allocations: 113.7 kB / 0.5096 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.4694, allocations: 3.984 kB / 0.5096 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.4696, allocations: 65.17 kB / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4696, allocations: 192 / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4696, allocations: 3.938 kB / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4696, allocations: 3.984 kB / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.577e-05/0.4697, allocations: 157.6 kB / 0.5098 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4697, allocations: 0 / 0.5098 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.4697, allocations: 4 kB / 0.5098 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4698, allocations: 4 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.4698, allocations: 4 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4698, allocations: 4 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4698, allocations: 0 / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.4699, allocations: 84.98 kB / 0.5099 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.47, allocations: 77.11 kB / 0.5099 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.47, allocations: 0 / 0.5099 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.47, allocations: 64 / 0.5099 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.4701, allocations: 8.031 kB / 0.51 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4701, allocations: 4 kB / 0.51 GB, free: 11.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.4701, allocations: 83.2 kB / 0.51 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4701, allocations: 0 / 0.51 GB, free: 11.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001892/0.4703, allocations: 16 kB / 0.5101 GB, free: 11.31 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.0001715/0.4705, allocations: 122.1 kB / 0.5102 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.132e-05/0.4706, allocations: 19.94 kB / 0.5102 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4706, allocations: 4.125 kB / 0.5102 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.4706, allocations: 11.98 kB / 0.5102 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.4707, allocations: 7.875 kB / 0.5102 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.471, allocations: 112.8 kB / 0.5103 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.4712, allocations: 0.6731 MB / 0.511 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.4712, allocations: 8 kB / 0.511 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.4712, allocations: 11.44 kB / 0.511 GB, free: 10.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4712, allocations: 0 / 0.511 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Templates: time 0.002314/0.4735, allocations: 0.6055 MB / 0.5116 GB, free: 9.688 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: