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.0009978/0.0009976, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001142/0.001142, allocations: 172.7 kB / 15.95 MB, free: 208 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.546/1.546, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.73/1.73, allocations: 252 MB / 0.5102 GB, free: 4.719 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.0005672/0.0005675, allocations: 16 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.5642, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001072/0.5653, allocations: 352.5 kB / 0.7285 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.568, allocations: 1.264 MB / 0.7297 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.5681, allocations: 0 / 0.7297 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.5681, allocations: 0 / 0.7297 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.5681, allocations: 4 kB / 0.7297 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.5686, allocations: 51.86 kB / 0.7298 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.162e-05/0.5687, allocations: 19.92 kB / 0.7298 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.5687, allocations: 4 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.5688, allocations: 8 kB / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.5689, allocations: 19.91 kB / 0.7298 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.5689, allocations: 4 kB / 0.7298 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.5693, allocations: 83.91 kB / 0.7299 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.5693, allocations: 15.97 kB / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.5693, allocations: 33.64 kB / 0.7299 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.5695, allocations: 43.94 kB / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5695, allocations: 0 / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5695, allocations: 0 / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.5696, allocations: 0 / 0.73 GB, free: 9.492 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.0005137/0.5701, allocations: 337.3 kB / 0.7303 GB, free: 9.117 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.5701, allocations: 12.03 kB / 0.7303 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.5702, allocations: 4 kB / 0.7303 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.5704, allocations: 171 kB / 0.7305 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5704, allocations: 4 kB / 0.7305 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.5704, allocations: 4 kB / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.5706, allocations: 45.69 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.5707, allocations: 7.906 kB / 0.7305 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.5707, allocations: 3.984 kB / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5707, allocations: 0 / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.5708, allocations: 27.91 kB / 0.7306 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.5711, allocations: 169.6 kB / 0.7307 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.5713, allocations: 62.56 kB / 0.7308 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.5714, allocations: 28.84 kB / 0.7308 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/0.5721, allocations: 0.5583 MB / 0.7314 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5722, allocations: 34.5 kB / 0.7314 GB, free: 7.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.404e-06/0.5722, allocations: 4 kB / 0.7314 GB, free: 7.746 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.03415/0.6063, allocations: 4.213 MB / 0.7355 GB, free: 3.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.6065, allocations: 59.34 kB / 0.7356 GB, free: 3.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6066, allocations: 89.86 kB / 0.7357 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.6067, allocations: 33.7 kB / 0.7357 GB, free: 3.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.6068, allocations: 84.27 kB / 0.7358 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.607, allocations: 55.16 kB / 0.7358 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6071, allocations: 4 kB / 0.7358 GB, free: 3.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.6073, allocations: 318.8 kB / 0.7361 GB, free: 2.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.6084, allocations: 303.9 kB / 0.7364 GB, free: 2.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6094, allocations: 315.9 kB / 0.7367 GB, free: 2.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.6109, allocations: 377.8 kB / 0.7371 GB, free: 1.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6109, allocations: 0 / 0.7371 GB, free: 1.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003041/0.614, allocations: 0.7864 MB / 0.7379 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.6141, allocations: 11.98 kB / 0.7379 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6141, allocations: 0 / 0.7379 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.6141, allocations: 0 / 0.7379 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.6149, allocations: 103.8 kB / 0.738 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6149, allocations: 0 / 0.738 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.6153, allocations: 8 kB / 0.738 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.6154, allocations: 39.91 kB / 0.738 GB, free: 0.7852 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.0001859/0.6156, allocations: 117.8 kB / 0.7381 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.6157, allocations: 4 kB / 0.7381 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.6193, allocations: 1.392 MB / 0.7395 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6193, allocations: 4 kB / 0.7395 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6193, allocations: 3.953 kB / 0.7395 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.6193, allocations: 3.984 kB / 0.7395 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.6222, allocations: 1.806 MB / 0.7413 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6222, allocations: 0 / 0.7413 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/0.623, allocations: 111.9 kB / 0.7414 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.623, allocations: 0 / 0.7414 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.6231, allocations: 31.98 kB / 0.7414 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6231, allocations: 0 / 0.7414 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6231, allocations: 0 / 0.7414 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.6255, allocations: 1.457 MB / 0.7428 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.6255, allocations: 96.92 kB / 0.7429 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.6256, allocations: 8 kB / 0.7429 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.6261, allocations: 12 kB / 0.7429 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.6262, allocations: 39.97 kB / 0.743 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/0.6263, allocations: 35.98 kB / 0.743 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.6263, allocations: 75.28 kB / 0.7431 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6263, allocations: 0 / 0.7431 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005818/0.6269, allocations: 176 kB / 0.7432 GB, free: 11.31 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.0005197/0.6274, allocations: 219.2 kB / 0.7435 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.6287, allocations: 0.729 MB / 0.7442 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6287, allocations: 0 / 0.7442 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006591/0.6294, allocations: 447.8 kB / 0.7446 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.6297, allocations: 19.94 kB / 0.7446 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.6327, allocations: 0.8583 MB / 0.7454 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.633, allocations: 0.7184 MB / 0.7461 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001535/0.6345, allocations: 297.5 kB / 0.7464 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.6351, allocations: 91.41 kB / 0.7465 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.6351, allocations: 4 kB / 0.7465 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of Templates: time 0.01645/0.6516, allocations: 10.36 MB / 0.7566 GB, free: 13.59 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: