Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001792/0.001792, allocations: 108.4 kB / 16.37 MB, free: 6.012 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.00154/0.001541, allocations: 194.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8773/0.8773, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 59.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001776/0.3423, allocations: 0.6118 MB / 0.5963 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3436, allocations: 1.289 MB / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.3437, allocations: 0 / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.3437, allocations: 5.188 kB / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.952e-05/0.3438, allocations: 0 / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.3442, allocations: 73.05 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.3443, allocations: 23.91 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.3444, allocations: 8 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.3444, allocations: 9.297 kB / 0.5977 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.3445, allocations: 15.92 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3445, allocations: 4 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.3447, allocations: 101 kB / 0.5978 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.3448, allocations: 7.984 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.3448, allocations: 11.92 kB / 0.5978 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.345, allocations: 72.88 kB / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.345, allocations: 0 / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.345, allocations: 0 / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.345, allocations: 1.375 kB / 0.5979 GB, free: 13.92 MB / 446.1 MB 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.0004178/0.3454, allocations: 339.6 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3455, allocations: 13.38 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3455, allocations: 8.828 kB / 0.5982 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.49e-05/0.3456, allocations: 172.1 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3456, allocations: 9.906 kB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3457, allocations: 4.375 kB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3458, allocations: 57.94 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3458, allocations: 5.266 kB / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3458, allocations: 0 / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3458, allocations: 3.938 kB / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.154e-05/0.3459, allocations: 23.98 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.346, allocations: 166.9 kB / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/0.3461, allocations: 60.03 kB / 0.5987 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.3462, allocations: 28.84 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.3465, allocations: 0.5643 MB / 0.5993 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3466, allocations: 34.5 kB / 0.5993 GB, free: 12.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3466, allocations: 1.406 kB / 0.5993 GB, free: 12.17 MB / 446.1 MB 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.01801/0.3646, allocations: 4.369 MB / 0.6036 GB, free: 7.758 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3647, allocations: 55.41 kB / 0.6036 GB, free: 7.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.448e-05/0.3648, allocations: 97.19 kB / 0.6037 GB, free: 7.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.3648, allocations: 29.7 kB / 0.6038 GB, free: 7.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.3649, allocations: 80.14 kB / 0.6038 GB, free: 7.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.365, allocations: 59.11 kB / 0.6039 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.3652, allocations: 89.67 kB / 0.604 GB, free: 7.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.3652, allocations: 325.2 kB / 0.6043 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.3657, allocations: 307.9 kB / 0.6046 GB, free: 6.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.3661, allocations: 321.8 kB / 0.6049 GB, free: 6.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3673, allocations: 0.7624 MB / 0.6056 GB, free: 5.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3673, allocations: 0 / 0.6056 GB, free: 5.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001261/0.3686, allocations: 0.8045 MB / 0.6064 GB, free: 4.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3686, allocations: 8.125 kB / 0.6064 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3686, allocations: 3.984 kB / 0.6064 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3686, allocations: 4 kB / 0.6064 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.3694, allocations: 87.95 kB / 0.6065 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3694, allocations: 0 / 0.6065 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.3698, allocations: 8 kB / 0.6065 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.3699, allocations: 35.97 kB / 0.6066 GB, free: 4.664 MB / 446.1 MB 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.0001682/0.3701, allocations: 129.7 kB / 0.6067 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.3702, allocations: 4 kB / 0.6067 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.3727, allocations: 1.396 MB / 0.608 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3727, allocations: 4 kB / 0.6081 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3727, allocations: 4 kB / 0.6081 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3727, allocations: 3.984 kB / 0.6081 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.3751, allocations: 1.818 MB / 0.6098 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3752, allocations: 0 / 0.6098 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.3759, allocations: 111.9 kB / 0.6099 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.3759, allocations: 0 / 0.6099 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.376, allocations: 31.92 kB / 0.61 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.376, allocations: 4 kB / 0.61 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.376, allocations: 0 / 0.61 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.3779, allocations: 1.467 MB / 0.6114 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.378, allocations: 93.03 kB / 0.6115 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.3781, allocations: 11.94 kB / 0.6115 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.3786, allocations: 12 kB / 0.6115 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3787, allocations: 43.91 kB / 0.6116 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/0.3788, allocations: 28 kB / 0.6116 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.3788, allocations: 83.27 kB / 0.6117 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3788, allocations: 160 / 0.6117 GB, free: 15.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.3794, allocations: 180 kB / 0.6118 GB, free: 15.13 MB / 462.1 MB 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.0005279/0.3799, allocations: 223.1 kB / 0.6121 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3811, allocations: 0.7301 MB / 0.6128 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3811, allocations: 0 / 0.6128 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.3818, allocations: 455.7 kB / 0.6132 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3821, allocations: 20.19 kB / 0.6132 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.3852, allocations: 0.7926 MB / 0.614 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3855, allocations: 0.7142 MB / 0.6147 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009623/0.3865, allocations: 301.4 kB / 0.615 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.387, allocations: 91.41 kB / 0.6151 GB, free: 11.77 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.387, allocations: 0 / 0.6151 GB, free: 11.77 MB / 462.1 MB Notification: Performance of Templates: time 0.01641/0.4035, allocations: 11.25 MB / 0.6261 GB, free: 0.6211 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)