Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001371/0.001371, allocations: 100.1 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.001733/0.001733, 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.823/1.823, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.843/1.843, allocations: 251.9 MB / 0.51 GB, free: 4.832 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005817/0.0005817, allocations: 19.98 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5432, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007688/0.5441, allocations: 345.3 kB / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.5456, allocations: 1.274 MB / 0.7296 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.5456, allocations: 0 / 0.7296 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.5457, allocations: 0 / 0.7296 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.213e-05/0.5457, allocations: 0 / 0.7296 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.546, allocations: 55.8 kB / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.546, allocations: 11.98 kB / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.5461, allocations: 8 kB / 0.7296 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.5461, allocations: 4 kB / 0.7296 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.5462, allocations: 19.91 kB / 0.7296 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.5462, allocations: 4 kB / 0.7296 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.5464, allocations: 83.91 kB / 0.7297 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.5464, allocations: 11.92 kB / 0.7297 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.5464, allocations: 25.7 kB / 0.7298 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.5465, allocations: 43.94 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5465, allocations: 0 / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5466, allocations: 0 / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5466, allocations: 0 / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004173/0.547, allocations: 353.3 kB / 0.7301 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.547, allocations: 11.97 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.5471, allocations: 3.938 kB / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.5472, allocations: 167 kB / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5472, allocations: 0 / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.5472, allocations: 11.98 kB / 0.7303 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.5474, allocations: 53.61 kB / 0.7304 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5474, allocations: 11.91 kB / 0.7304 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5474, allocations: 0 / 0.7304 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5474, allocations: 0 / 0.7304 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.5475, allocations: 23.98 kB / 0.7304 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.5477, allocations: 173.5 kB / 0.7306 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5478, allocations: 54.56 kB / 0.7306 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.5482, allocations: 0.5544 MB / 0.7312 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5483, allocations: 38.5 kB / 0.7312 GB, free: 7.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.5483, allocations: 0 / 0.7312 GB, free: 7.812 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01897/0.5673, allocations: 4.212 MB / 0.7353 GB, free: 3.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.5674, allocations: 59.41 kB / 0.7354 GB, free: 3.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5675, allocations: 93.86 kB / 0.7355 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/0.5676, allocations: 29.64 kB / 0.7355 GB, free: 3.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.5676, allocations: 84.14 kB / 0.7356 GB, free: 3.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5678, allocations: 55.16 kB / 0.7356 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.5678, allocations: 4 kB / 0.7356 GB, free: 3.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.568, allocations: 322.8 kB / 0.7359 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.5685, allocations: 307.9 kB / 0.7362 GB, free: 2.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.5691, allocations: 308 kB / 0.7365 GB, free: 2.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007702/0.5699, allocations: 383.9 kB / 0.7369 GB, free: 1.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5699, allocations: 0 / 0.7369 GB, free: 1.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001546/0.5715, allocations: 0.7922 MB / 0.7377 GB, free: 1.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.5715, allocations: 7.984 kB / 0.7377 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5716, allocations: 0 / 0.7377 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.5716, allocations: 4 kB / 0.7377 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.5725, allocations: 87.95 kB / 0.7378 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.5725, allocations: 3.953 kB / 0.7378 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.573, allocations: 8 kB / 0.7378 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.5731, allocations: 35.97 kB / 0.7378 GB, free: 0.8594 MB / 0.545 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 (18): * Single equations (assignments): 18 * 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.0002041/0.5733, allocations: 128.9 kB / 0.7379 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.5734, allocations: 4 kB / 0.7379 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.5767, allocations: 1.384 MB / 0.7393 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5767, allocations: 4 kB / 0.7393 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5767, allocations: 0 / 0.7393 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5767, allocations: 11.94 kB / 0.7393 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.5797, allocations: 1.798 MB / 0.7411 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5797, allocations: 11.95 kB / 0.7411 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.5805, allocations: 107.9 kB / 0.7412 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5805, allocations: 0 / 0.7412 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.5806, allocations: 31.98 kB / 0.7412 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.5806, allocations: 4.016 kB / 0.7412 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5806, allocations: 4.016 kB / 0.7412 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.583, allocations: 1.466 MB / 0.7426 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.583, allocations: 96.97 kB / 0.7427 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.5831, allocations: 4 kB / 0.7427 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.5837, allocations: 12 kB / 0.7428 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5838, allocations: 43.95 kB / 0.7428 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.5839, allocations: 36.06 kB / 0.7428 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.5839, allocations: 79.27 kB / 0.7429 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5839, allocations: 0 / 0.7429 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006033/0.5845, allocations: 172 kB / 0.7431 GB, free: 11.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.0005107/0.5851, allocations: 215.1 kB / 0.7433 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.5863, allocations: 0.7229 MB / 0.744 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5863, allocations: 7.875 kB / 0.744 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.587, allocations: 455.8 kB / 0.7444 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.5872, allocations: 7.953 kB / 0.7444 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.5906, allocations: 0.8622 MB / 0.7453 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.591, allocations: 0.7184 MB / 0.746 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001452/0.5925, allocations: 297.5 kB / 0.7463 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.593, allocations: 87.41 kB / 0.7463 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.593, allocations: 4 kB / 0.7463 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.0164/0.6094, allocations: 10.34 MB / 0.7564 GB, free: 13.66 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: