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.0006881/0.0006882, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007495/0.0007495, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.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.8778/0.8778, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 12 kB / 0.5158 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 83.41 MB / 0.5973 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006752/0.1358, allocations: 338.2 kB / 0.5976 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1373, allocations: 1.229 MB / 0.5988 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.1373, allocations: 4 kB / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.788e-06/0.1373, allocations: 4 kB / 0.5988 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.307e-05/0.1374, allocations: 0 / 0.5988 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1377, allocations: 59.8 kB / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.1377, allocations: 15.98 kB / 0.5989 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.4e-05/0.1378, allocations: 4 kB / 0.5989 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.1378, allocations: 7.984 kB / 0.5989 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.1379, allocations: 15.92 kB / 0.5989 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1379, allocations: 4 kB / 0.5989 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.1381, allocations: 99.89 kB / 0.599 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.1381, allocations: 11.88 kB / 0.599 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1381, allocations: 33.69 kB / 0.599 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.1382, allocations: 43.94 kB / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1382, allocations: 0 / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1382, allocations: 0 / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.1382, allocations: 0 / 0.5991 GB, free: 6.195 MB / 0.4981 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.0003592/0.1386, allocations: 335.7 kB / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1386, allocations: 8.031 kB / 0.5994 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1387, allocations: 11.91 kB / 0.5994 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1388, allocations: 171 kB / 0.5996 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1388, allocations: 8 kB / 0.5996 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1389, allocations: 0 / 0.5996 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.139, allocations: 61.59 kB / 0.5996 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.139, allocations: 0 / 0.5996 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.139, allocations: 4 kB / 0.5996 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.139, allocations: 0 / 0.5996 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.1391, allocations: 23.97 kB / 0.5997 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1393, allocations: 169.6 kB / 0.5998 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1394, allocations: 54.56 kB / 0.5999 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.1394, allocations: 32.78 kB / 0.5999 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/0.1399, allocations: 0.5622 MB / 0.6005 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1399, allocations: 34.56 kB / 0.6005 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1399, allocations: 3.938 kB / 0.6005 GB, free: 4.441 MB / 0.4981 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.01552/0.1555, allocations: 4.278 MB / 0.6047 GB, free: 16 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2368/0.3923, allocations: 55.36 kB / 0.6047 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.3924, allocations: 93.33 kB / 0.6048 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.3925, allocations: 31.14 kB / 0.6048 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.532e-05/0.3925, allocations: 85.17 kB / 0.6049 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3926, allocations: 52.58 kB / 0.605 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.3927, allocations: 4.438 kB / 0.605 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.3927, allocations: 321.4 kB / 0.6053 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.3932, allocations: 306 kB / 0.6056 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3936, allocations: 311.3 kB / 0.6059 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.3943, allocations: 390.5 kB / 0.6063 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3943, allocations: 0.7188 kB / 0.6063 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001247/0.3956, allocations: 0.7984 MB / 0.607 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3956, allocations: 9.594 kB / 0.607 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3956, allocations: 0 / 0.607 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3956, allocations: 0 / 0.607 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.3962, allocations: 95.72 kB / 0.6071 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3963, allocations: 2.594 kB / 0.6071 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.3966, allocations: 9.062 kB / 0.6071 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.3967, allocations: 36.78 kB / 0.6072 GB, free: 41.62 MB / 0.4981 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.0001361/0.3968, allocations: 122.2 kB / 0.6073 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3969, allocations: 5.672 kB / 0.6073 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.3997, allocations: 1.397 MB / 0.6087 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.3997, allocations: 2.781 kB / 0.6087 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3998, allocations: 4.5 kB / 0.6087 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3998, allocations: 4.781 kB / 0.6087 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.402, allocations: 1.807 MB / 0.6104 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.402, allocations: 0 / 0.6104 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.4026, allocations: 105.7 kB / 0.6105 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4026, allocations: 2.844 kB / 0.6105 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.4027, allocations: 35.61 kB / 0.6106 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4027, allocations: 0.875 kB / 0.6106 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4027, allocations: 0 / 0.6106 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.4046, allocations: 1.471 MB / 0.612 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.4047, allocations: 88.11 kB / 0.6121 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.4047, allocations: 17.11 kB / 0.6121 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.4051, allocations: 11.09 kB / 0.6121 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.4052, allocations: 44.78 kB / 0.6122 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.4053, allocations: 34.22 kB / 0.6122 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.4053, allocations: 75.28 kB / 0.6123 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4053, allocations: 0 / 0.6123 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004787/0.4058, allocations: 178.8 kB / 0.6124 GB, free: 40.32 MB / 0.4981 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.0003932/0.4062, allocations: 224.3 kB / 0.6127 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.4071, allocations: 0.7299 MB / 0.6134 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4071, allocations: 4 kB / 0.6134 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.4076, allocations: 450.6 kB / 0.6138 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4079, allocations: 14.69 kB / 0.6138 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.4103, allocations: 0.8529 MB / 0.6147 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4105, allocations: 0.7172 MB / 0.6154 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001202/0.4117, allocations: 294.8 kB / 0.6156 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.4121, allocations: 95.16 kB / 0.6157 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.4121, allocations: 0 / 0.6157 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.01098/0.4231, allocations: 10.43 MB / 0.6259 GB, free: 37.83 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)