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.0006674/0.0006676, allocations: 97.33 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.004213/0.004213, allocations: 170.5 kB / 16.27 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.187/1.187, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.337/1.337, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0004912/0.0004915, allocations: 20 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4034, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006599/0.4041, allocations: 356.5 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.4057, allocations: 1.318 MB / 0.7304 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.4057, allocations: 0 / 0.7304 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.4057, allocations: 0 / 0.7304 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.22e-05/0.4058, allocations: 0 / 0.7304 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.406, allocations: 43.89 kB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.4061, allocations: 23.92 kB / 0.7304 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.4061, allocations: 7.922 kB / 0.7304 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.4062, allocations: 15.98 kB / 0.7304 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.4062, allocations: 15.92 kB / 0.7305 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.4062, allocations: 0 / 0.7305 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.4065, allocations: 99.89 kB / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.4065, allocations: 0 / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.4065, allocations: 41.62 kB / 0.7306 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.4067, allocations: 71.78 kB / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4067, allocations: 0 / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4067, allocations: 0 / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.4067, allocations: 0 / 0.7307 GB, free: 9.246 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.0003542/0.407, allocations: 345.5 kB / 0.731 GB, free: 8.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.4071, allocations: 12.03 kB / 0.731 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.4071, allocations: 4.938 kB / 0.731 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.4072, allocations: 160.4 kB / 0.7312 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.4072, allocations: 4.375 kB / 0.7312 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.4073, allocations: 4.375 kB / 0.7312 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4074, allocations: 65.91 kB / 0.7312 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4074, allocations: 7.844 kB / 0.7312 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4074, allocations: 0 / 0.7312 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4074, allocations: 4 kB / 0.7312 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.4075, allocations: 19.98 kB / 0.7313 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.4077, allocations: 169.6 kB / 0.7314 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.4078, allocations: 62.48 kB / 0.7315 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.4078, allocations: 24.86 kB / 0.7315 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.4082, allocations: 0.5544 MB / 0.7321 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4083, allocations: 42.48 kB / 0.7321 GB, free: 7.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4083, allocations: 0 / 0.7321 GB, free: 7.496 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.01818/0.4265, allocations: 4.206 MB / 0.7362 GB, free: 3.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.4265, allocations: 51.41 kB / 0.7363 GB, free: 3.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.4266, allocations: 101.9 kB / 0.7363 GB, free: 2.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.4267, allocations: 25.7 kB / 0.7364 GB, free: 2.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.4267, allocations: 80.14 kB / 0.7364 GB, free: 2.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4268, allocations: 63.14 kB / 0.7365 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.4269, allocations: 17.72 kB / 0.7365 GB, free: 2.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.427, allocations: 322.8 kB / 0.7368 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.4275, allocations: 311.8 kB / 0.7371 GB, free: 2.137 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.428, allocations: 311.9 kB / 0.7374 GB, free: 1.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.4294, allocations: 0.7525 MB / 0.7382 GB, free: 1.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4294, allocations: 4.125 kB / 0.7382 GB, free: 1.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001417/0.4309, allocations: 0.7926 MB / 0.7389 GB, free: 284 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4309, allocations: 4 kB / 0.7389 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4309, allocations: 0 / 0.7389 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4309, allocations: 4 kB / 0.7389 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.4317, allocations: 95.94 kB / 0.739 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4317, allocations: 0 / 0.739 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.4322, allocations: 7.938 kB / 0.739 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.4323, allocations: 35.97 kB / 0.7391 GB, free: 136 kB / 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.0001847/0.4325, allocations: 125.8 kB / 0.7392 GB, free: 0 / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.4326, allocations: 8.078 kB / 0.7392 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.4358, allocations: 1.388 MB / 0.7406 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4358, allocations: 4 kB / 0.7406 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4358, allocations: 0 / 0.7406 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.4358, allocations: 3.984 kB / 0.7406 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.4384, allocations: 1.806 MB / 0.7423 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4384, allocations: 0 / 0.7423 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/0.4392, allocations: 107.9 kB / 0.7424 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.4392, allocations: 4 kB / 0.7424 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.4393, allocations: 31.94 kB / 0.7425 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4393, allocations: 0 / 0.7425 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4393, allocations: 4 kB / 0.7425 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.4415, allocations: 1.457 MB / 0.7439 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.4415, allocations: 100.9 kB / 0.744 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.4416, allocations: 7.938 kB / 0.744 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.4421, allocations: 15.98 kB / 0.744 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4423, allocations: 43.91 kB / 0.7441 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/0.4423, allocations: 32 kB / 0.7441 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.4424, allocations: 79.34 kB / 0.7442 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.4424, allocations: 0 / 0.7442 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005172/0.4429, allocations: 172 kB / 0.7443 GB, free: 10.64 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.0004675/0.4434, allocations: 219.4 kB / 0.7445 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.4445, allocations: 0.726 MB / 0.7453 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4445, allocations: 4 kB / 0.7453 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.4451, allocations: 447.8 kB / 0.7457 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4454, allocations: 18.81 kB / 0.7457 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.4486, allocations: 0.8546 MB / 0.7465 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4488, allocations: 0.7184 MB / 0.7472 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001305/0.4502, allocations: 297.5 kB / 0.7475 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.4507, allocations: 95.41 kB / 0.7476 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4507, allocations: 0 / 0.7476 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of Templates: time 0.01426/0.465, allocations: 10.61 MB / 0.758 GB, free: 12.68 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: