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.001163/0.001163, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009713/0.0009714, allocations: 192.8 kB / 16.25 MB, free: 6.617 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.195/1.195, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.289/1.289, allocations: 251.6 MB / 0.5089 GB, free: 3.258 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.001258/0.001258, allocations: 67.91 kB / 0.6218 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3577, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0016/0.3593, allocations: 0.6823 MB / 0.7247 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3606, allocations: 1.314 MB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.3606, allocations: 0 / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.3607, allocations: 0 / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.786e-05/0.3607, allocations: 0 / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.361, allocations: 63.86 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.361, allocations: 23.92 kB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.3611, allocations: 4 kB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.3611, allocations: 15.98 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.3612, allocations: 15.91 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.3612, allocations: 0 / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.3614, allocations: 103.8 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3614, allocations: 4 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3614, allocations: 11.94 kB / 0.7262 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.3615, allocations: 67.84 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.3615, allocations: 0 / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3615, allocations: 0 / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3615, allocations: 0 / 0.7262 GB, free: 10.76 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.0003586/0.3619, allocations: 349.5 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3619, allocations: 12.02 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.362, allocations: 4.938 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.3621, allocations: 164.4 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.3621, allocations: 4.312 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3621, allocations: 8.281 kB / 0.7268 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3622, allocations: 65.91 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.3622, allocations: 4 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3622, allocations: 3.984 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3623, allocations: 4 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.3623, allocations: 19.98 kB / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3625, allocations: 165.6 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.3626, allocations: 54.56 kB / 0.7271 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.3626, allocations: 28.84 kB / 0.7271 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.363, allocations: 0.5583 MB / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3631, allocations: 38.44 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3631, allocations: 0 / 0.7277 GB, free: 9.008 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.01817/0.3812, allocations: 4.311 MB / 0.7319 GB, free: 4.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3813, allocations: 51.41 kB / 0.7319 GB, free: 4.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.3813, allocations: 93.86 kB / 0.732 GB, free: 4.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.3814, allocations: 29.7 kB / 0.732 GB, free: 4.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.3815, allocations: 84.08 kB / 0.7321 GB, free: 4.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3816, allocations: 63.09 kB / 0.7322 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.3818, allocations: 93.78 kB / 0.7323 GB, free: 4.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3819, allocations: 322.8 kB / 0.7326 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.3824, allocations: 307.9 kB / 0.7329 GB, free: 3.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.3828, allocations: 307.9 kB / 0.7332 GB, free: 3.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.3841, allocations: 0.7524 MB / 0.7339 GB, free: 2.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3841, allocations: 0 / 0.7339 GB, free: 2.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001399/0.3855, allocations: 0.8 MB / 0.7347 GB, free: 1.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3856, allocations: 4 kB / 0.7347 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3856, allocations: 0 / 0.7347 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3856, allocations: 4 kB / 0.7347 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.3863, allocations: 91.94 kB / 0.7348 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3863, allocations: 4 kB / 0.7348 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.3868, allocations: 12 kB / 0.7348 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.3868, allocations: 31.98 kB / 0.7348 GB, free: 1.473 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.0001801/0.387, allocations: 125.7 kB / 0.7349 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.3871, allocations: 3.906 kB / 0.735 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.39, allocations: 1.395 MB / 0.7363 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3901, allocations: 4 kB / 0.7363 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3901, allocations: 0 / 0.7363 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3901, allocations: 4 kB / 0.7363 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.3926, allocations: 1.806 MB / 0.7381 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3926, allocations: 0 / 0.7381 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.3933, allocations: 115.9 kB / 0.7382 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3933, allocations: 0 / 0.7382 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.3934, allocations: 31.94 kB / 0.7382 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3934, allocations: 0 / 0.7382 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3934, allocations: 4.031 kB / 0.7382 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.3954, allocations: 1.457 MB / 0.7397 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3955, allocations: 92.94 kB / 0.7397 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.113e-05/0.3956, allocations: 15.94 kB / 0.7398 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.396, allocations: 8 kB / 0.7398 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3962, allocations: 47.91 kB / 0.7398 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.3963, allocations: 36.05 kB / 0.7398 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.3963, allocations: 75.28 kB / 0.7399 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3963, allocations: 0 / 0.7399 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004856/0.3968, allocations: 172 kB / 0.7401 GB, free: 11.98 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.0004271/0.3972, allocations: 215.4 kB / 0.7403 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.3984, allocations: 0.7417 MB / 0.741 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3984, allocations: 3.938 kB / 0.741 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.399, allocations: 459.8 kB / 0.7415 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3993, allocations: 12 kB / 0.7415 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.4021, allocations: 0.8592 MB / 0.7423 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.4024, allocations: 0.722 MB / 0.743 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001341/0.4037, allocations: 293.5 kB / 0.7433 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.4042, allocations: 91.41 kB / 0.7434 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.4042, allocations: 0 / 0.7434 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of Templates: time 0.01339/0.4176, allocations: 11.2 MB / 0.7543 GB, free: 13.41 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)