Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.735/1.735, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 178.9 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 0.6626 GB, free: 4.215 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 91.34 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.000444, allocations: 12 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.81, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.9928, allocations: 141.8 MB / 1.165 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9931, allocations: 78.97 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006723/0.9998, allocations: 2.397 MB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.037e-06/0.9999, allocations: 0 / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9999, allocations: 3.938 kB / 1.167 GB, free: 15.89 MB / 0.7448 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.0003784/1, allocations: 354.7 kB / 1.168 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1, allocations: 8.594 kB / 1.168 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/1, allocations: 6.891 kB / 1.168 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.001, allocations: 164.9 kB / 1.168 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/1.001, allocations: 9.531 kB / 1.168 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/1.001, allocations: 4.891 kB / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/1.001, allocations: 54.17 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.001, allocations: 0.7031 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.001, allocations: 10.12 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.001, allocations: 0 / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/1.001, allocations: 28.28 kB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/1.001, allocations: 167 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.001, allocations: 59.42 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/1.001, allocations: 27.02 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/1.002, allocations: 0.5549 MB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/1.002, allocations: 33.05 kB / 1.169 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/1.002, allocations: 0 / 1.169 GB, free: 14.19 MB / 0.7448 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.01731/1.019, allocations: 4.198 MB / 1.173 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/1.019, allocations: 52.02 kB / 1.173 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.019, allocations: 98.66 kB / 1.173 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/1.019, allocations: 29.64 kB / 1.173 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/1.019, allocations: 80.14 kB / 1.173 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.02, allocations: 56.72 kB / 1.173 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/1.02, allocations: 8.125 kB / 1.173 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.02, allocations: 321.2 kB / 1.173 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/1.02, allocations: 308.8 kB / 1.174 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/1.021, allocations: 309.4 kB / 1.174 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/1.022, allocations: 0.7563 MB / 1.175 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.022, allocations: 0 / 1.175 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001539/1.024, allocations: 0.7858 MB / 1.175 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.024, allocations: 8.75 kB / 1.175 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.024, allocations: 1 kB / 1.175 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.024, allocations: 4 kB / 1.175 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/1.025, allocations: 94.28 kB / 1.176 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.025, allocations: 1.516 kB / 1.176 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/1.025, allocations: 12 kB / 1.176 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/1.025, allocations: 33.44 kB / 1.176 GB, free: 7.723 MB / 0.7448 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.0001946/1.026, allocations: 126.4 kB / 1.176 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/1.026, allocations: 8.469 kB / 1.176 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/1.029, allocations: 1.385 MB / 1.177 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.029, allocations: 4 kB / 1.177 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.029, allocations: 1 kB / 1.177 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.029, allocations: 3 kB / 1.177 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/1.032, allocations: 1.805 MB / 1.179 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.032, allocations: 4.031 kB / 1.179 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/1.033, allocations: 111.3 kB / 1.179 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.033, allocations: 4.656 kB / 1.179 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/1.033, allocations: 25.22 kB / 1.179 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.033, allocations: 8.938 kB / 1.179 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.033, allocations: 0.5625 kB / 1.179 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/1.036, allocations: 1.452 MB / 1.18 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/1.036, allocations: 97.58 kB / 1.18 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/1.036, allocations: 12.52 kB / 1.18 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/1.036, allocations: 12.45 kB / 1.18 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.036, allocations: 49.55 kB / 1.181 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/1.036, allocations: 26.28 kB / 1.181 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.993e-05/1.036, allocations: 76.08 kB / 1.181 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.036, allocations: 4 kB / 1.181 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006496/1.037, allocations: 200.5 kB / 1.181 GB, free: 2.715 MB / 0.7448 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.0005385/1.038, allocations: 264.7 kB / 1.181 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001248/1.039, allocations: 0.7191 MB / 1.182 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.039, allocations: 0 / 1.182 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006397/1.04, allocations: 455.3 kB / 1.182 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/1.04, allocations: 16.7 kB / 1.182 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/1.044, allocations: 0.8498 MB / 1.183 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/1.045, allocations: 0.7193 MB / 1.184 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002774/1.048, allocations: 295.4 kB / 1.184 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/1.049, allocations: 91.55 kB / 1.184 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/1.049, allocations: 1.219 kB / 1.184 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.02841/1.077, allocations: 10.37 MB / 1.194 GB, free: 5.449 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)