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.001059/0.001059, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001213/0.001213, allocations: 190.9 kB / 16.13 MB, free: 6.652 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.15/1.15, allocations: 205.1 MB / 222 MB, free: 4.746 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.311/1.311, allocations: 251.6 MB / 0.5088 GB, free: 3.34 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.00118/0.00118, allocations: 67.91 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3749, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001552/0.3765, allocations: 0.683 MB / 0.7245 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3778, allocations: 1.318 MB / 0.7258 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.3779, allocations: 0 / 0.7258 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.3779, allocations: 0 / 0.7258 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.905e-05/0.3779, allocations: 3.938 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3782, allocations: 51.86 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.448e-05/0.3782, allocations: 31.92 kB / 0.7259 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.3783, allocations: 0 / 0.7259 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.3783, allocations: 15.97 kB / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.3783, allocations: 19.92 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3784, allocations: 0 / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3785, allocations: 95.89 kB / 0.726 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.3786, allocations: 0 / 0.726 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3786, allocations: 11.94 kB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.3787, allocations: 67.83 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3787, allocations: 0 / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3787, allocations: 0 / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3788, allocations: 8 kB / 0.7261 GB, free: 10.98 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.0003678/0.3791, allocations: 345.6 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.3792, allocations: 12.03 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.3792, allocations: 0.9375 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.3793, allocations: 176.2 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.3793, allocations: 4.375 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3793, allocations: 12.28 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3795, allocations: 57.98 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3795, allocations: 3.984 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3795, allocations: 4 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3795, allocations: 0 / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.3796, allocations: 23.98 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.3797, allocations: 165.6 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.3798, allocations: 58.5 kB / 0.7269 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.3799, allocations: 24.84 kB / 0.7269 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.3803, allocations: 0.5622 MB / 0.7275 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3803, allocations: 34.5 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3803, allocations: 3.938 kB / 0.7275 GB, free: 9.219 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.01827/0.3986, allocations: 4.298 MB / 0.7317 GB, free: 4.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3987, allocations: 55.41 kB / 0.7317 GB, free: 4.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.172e-05/0.3987, allocations: 93.86 kB / 0.7318 GB, free: 4.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.3988, allocations: 33.64 kB / 0.7319 GB, free: 4.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.3988, allocations: 80.14 kB / 0.7319 GB, free: 4.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.3989, allocations: 55.23 kB / 0.732 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3991, allocations: 105.6 kB / 0.7321 GB, free: 4.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.3992, allocations: 314.8 kB / 0.7324 GB, free: 4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.3997, allocations: 311.9 kB / 0.7327 GB, free: 3.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.4002, allocations: 313.7 kB / 0.733 GB, free: 3.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.4015, allocations: 0.7489 MB / 0.7337 GB, free: 2.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4015, allocations: 0 / 0.7337 GB, free: 2.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001362/0.4028, allocations: 0.7903 MB / 0.7345 GB, free: 1.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4029, allocations: 4 kB / 0.7345 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4029, allocations: 4 kB / 0.7345 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4029, allocations: 4 kB / 0.7345 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.4036, allocations: 95.89 kB / 0.7346 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4036, allocations: 3.984 kB / 0.7346 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.4041, allocations: 4 kB / 0.7346 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.4041, allocations: 35.98 kB / 0.7346 GB, free: 1.695 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.4043, allocations: 121.7 kB / 0.7348 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.4044, allocations: 7.906 kB / 0.7348 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.4073, allocations: 1.391 MB / 0.7361 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4074, allocations: 7.984 kB / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4074, allocations: 0 / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4074, allocations: 0 / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.4099, allocations: 1.81 MB / 0.7379 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4099, allocations: 0 / 0.7379 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.4106, allocations: 107.9 kB / 0.738 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4106, allocations: 7.984 kB / 0.738 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.4107, allocations: 27.94 kB / 0.738 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4107, allocations: 8.031 kB / 0.738 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4107, allocations: 0 / 0.738 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.4128, allocations: 1.465 MB / 0.7395 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.4128, allocations: 92.86 kB / 0.7396 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.4129, allocations: 7.938 kB / 0.7396 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.4133, allocations: 12 kB / 0.7396 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.4135, allocations: 44.03 kB / 0.7396 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.4136, allocations: 35.98 kB / 0.7397 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.4136, allocations: 75.28 kB / 0.7397 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4136, allocations: 4 kB / 0.7397 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005496/0.4142, allocations: 168 kB / 0.7399 GB, free: 12.2 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 (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.0006263/0.4148, allocations: 219.4 kB / 0.7401 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.416, allocations: 0.73 MB / 0.7408 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.416, allocations: 96 / 0.7408 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.4168, allocations: 455.8 kB / 0.7413 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.4171, allocations: 16 kB / 0.7413 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.4203, allocations: 0.857 MB / 0.7421 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.4205, allocations: 0.7145 MB / 0.7428 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001385/0.4219, allocations: 297.5 kB / 0.7431 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.4225, allocations: 91.41 kB / 0.7432 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.4225, allocations: 0 / 0.7432 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of Templates: time 0.01311/0.4356, allocations: 10.69 MB / 0.7536 GB, free: 14.16 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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)