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.001066/0.001066, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001115/0.001116, allocations: 168.7 kB / 15.95 MB, free: 204 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.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.6356/0.6356, allocations: 95.63 MB / 366 MB, free: 10.36 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.0005633/0.0005634, allocations: 19.91 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3963, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008971/0.3973, allocations: 273 kB / 0.5053 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3985, allocations: 1.007 MB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.3985, allocations: 3.938 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.3985, allocations: 0 / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.3985, allocations: 3.938 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3989, allocations: 59.81 kB / 0.5064 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.3989, allocations: 7.984 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.399, allocations: 4 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.399, allocations: 4 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.3991, allocations: 4 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.3991, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3993, allocations: 87.89 kB / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3993, allocations: 3.984 kB / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.3993, allocations: 25.7 kB / 0.5065 GB, free: 15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.067e-05/0.3994, allocations: 31.97 kB / 0.5066 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3994, allocations: 0 / 0.5066 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3994, allocations: 0 / 0.5066 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3995, allocations: 4 kB / 0.5066 GB, free: 14.96 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.0002585/0.3997, allocations: 331.4 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3998, allocations: 11.98 kB / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.3998, allocations: 3.906 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.118e-05/0.3999, allocations: 159.1 kB / 0.507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3999, allocations: 0 / 0.507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3999, allocations: 4 kB / 0.507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.4, allocations: 41.64 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4, allocations: 4 kB / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.4001, allocations: 0 / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4001, allocations: 0 / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.4001, allocations: 4 kB / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.4002, allocations: 149.7 kB / 0.5072 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.4003, allocations: 30.61 kB / 0.5073 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.4003, allocations: 8.859 kB / 0.5073 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.4007, allocations: 0.5661 MB / 0.5078 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.4007, allocations: 34.52 kB / 0.5079 GB, free: 13.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4007, allocations: 3.938 kB / 0.5079 GB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005065/0.4013, allocations: 252.4 kB / 0.5081 GB, free: 13.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4013, allocations: 55.62 kB / 0.5082 GB, free: 12.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.101e-05/0.4013, allocations: 93.86 kB / 0.5082 GB, free: 12.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.4013, allocations: 25.7 kB / 0.5083 GB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.4014, allocations: 80.14 kB / 0.5083 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4014, allocations: 11.8 kB / 0.5084 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.4014, allocations: 4 kB / 0.5084 GB, free: 12.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.4015, allocations: 314.8 kB / 0.5087 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.4015, allocations: 4 kB / 0.5087 GB, free: 12.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.4015, allocations: 21.66 kB / 0.5087 GB, free: 12.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.4016, allocations: 11.98 kB / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4016, allocations: 3.938 kB / 0.5087 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.844e-05/0.4016, allocations: 45.7 kB / 0.5087 GB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4017, allocations: 4 kB / 0.5087 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4017, allocations: 3.953 kB / 0.5087 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4017, allocations: 0 / 0.5087 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.4017, allocations: 15.92 kB / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.4018, allocations: 4.062 kB / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.4018, allocations: 0 / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.4018, allocations: 4 kB / 0.5088 GB, free: 12.29 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 5.32e-05/0.4019, allocations: 109.8 kB / 0.5089 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.4019, allocations: 4 kB / 0.5089 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.402, allocations: 57.31 kB / 0.5089 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.402, allocations: 7.984 kB / 0.5089 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.402, allocations: 0 / 0.5089 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4021, allocations: 3.938 kB / 0.5089 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.8e-05/0.4021, allocations: 149.7 kB / 0.5091 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4021, allocations: 0 / 0.5091 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.4022, allocations: 7.984 kB / 0.5091 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4022, allocations: 0 / 0.5091 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4022, allocations: 4 kB / 0.5091 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4022, allocations: 0 / 0.5091 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4022, allocations: 7.953 kB / 0.5091 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.4023, allocations: 77.06 kB / 0.5092 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.4024, allocations: 77.11 kB / 0.5093 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4024, allocations: 3.984 kB / 0.5093 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.137e-05/0.4024, allocations: 32 / 0.5093 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.4024, allocations: 7.953 kB / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.4025, allocations: 0 / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.841e-05/0.4025, allocations: 79.34 kB / 0.5093 GB, free: 11.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4025, allocations: 3.938 kB / 0.5093 GB, free: 11.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.4027, allocations: 24 kB / 0.5094 GB, free: 11.57 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.0001611/0.4029, allocations: 119.2 kB / 0.5095 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.605e-05/0.403, allocations: 15.98 kB / 0.5095 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.403, allocations: 0 / 0.5095 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.403, allocations: 12 kB / 0.5095 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.4032, allocations: 128 / 0.5095 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.4034, allocations: 120.5 kB / 0.5096 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.4035, allocations: 0.677 MB / 0.5103 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.4036, allocations: 4 kB / 0.5103 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.4036, allocations: 11.44 kB / 0.5103 GB, free: 10.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4036, allocations: 0 / 0.5103 GB, free: 10.56 MB / 382.1 MB Notification: Performance of Templates: time 0.003058/0.4067, allocations: 0.6038 MB / 0.5109 GB, free: 9.961 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: