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.001108/0.001108, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001039/0.001039, allocations: 187 kB / 17.34 MB, free: 5.762 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.356/1.356, 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.833/0.833, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002186, allocations: 73.75 kB / 0.5963 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1635, allocations: 82.02 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00198/0.1655, allocations: 0.6255 MB / 0.677 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1673, allocations: 1.287 MB / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.1673, allocations: 0 / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1674, allocations: 3.938 kB / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.973e-05/0.1674, allocations: 0 / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1679, allocations: 67.73 kB / 0.6783 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.1679, allocations: 19.98 kB / 0.6783 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.168, allocations: 11.98 kB / 0.6783 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.168, allocations: 15.92 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.1681, allocations: 11.98 kB / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1681, allocations: 4 kB / 0.6783 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.1684, allocations: 107.8 kB / 0.6784 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1684, allocations: 4 kB / 0.6785 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.1684, allocations: 7.938 kB / 0.6785 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1686, allocations: 75.83 kB / 0.6785 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1686, allocations: 0 / 0.6785 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1686, allocations: 0 / 0.6785 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1686, allocations: 0 / 0.6785 GB, free: 8.09 MB / 0.5137 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.0004855/0.1691, allocations: 354.2 kB / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1692, allocations: 8.031 kB / 0.6789 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.1692, allocations: 8.844 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1693, allocations: 160.4 kB / 0.679 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1694, allocations: 12.36 kB / 0.679 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1694, allocations: 384 / 0.679 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1695, allocations: 61.92 kB / 0.6791 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1695, allocations: 0 / 0.6791 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1696, allocations: 8 kB / 0.6791 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1696, allocations: 0 / 0.6791 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.1696, allocations: 23.92 kB / 0.6791 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1698, allocations: 161.7 kB / 0.6793 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.17, allocations: 62.55 kB / 0.6794 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.17, allocations: 24.86 kB / 0.6794 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/0.1706, allocations: 0.5583 MB / 0.6799 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1706, allocations: 42.44 kB / 0.68 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.1706, allocations: 0 / 0.68 GB, free: 6.336 MB / 0.5137 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.01974/0.1904, allocations: 4.386 MB / 0.6842 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1904, allocations: 51.41 kB / 0.6843 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.1905, allocations: 93.86 kB / 0.6844 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.1906, allocations: 29.7 kB / 0.6844 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.1906, allocations: 80.14 kB / 0.6845 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1907, allocations: 55.2 kB / 0.6845 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.191, allocations: 93.66 kB / 0.6846 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.1911, allocations: 322.9 kB / 0.6849 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.1916, allocations: 311.9 kB / 0.6852 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.1921, allocations: 311.8 kB / 0.6855 GB, free: 448 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.1935, allocations: 0.769 MB / 0.6863 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1936, allocations: 0 / 0.6863 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001545/0.1951, allocations: 0.802 MB / 0.6871 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1951, allocations: 6.188 kB / 0.6871 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1951, allocations: 0 / 0.6871 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1952, allocations: 0 / 0.6871 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/0.196, allocations: 91.95 kB / 0.6872 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1961, allocations: 7.984 kB / 0.6872 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.1966, allocations: 8 kB / 0.6872 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.1967, allocations: 31.98 kB / 0.6872 GB, free: 14.71 MB / 0.5294 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.0002097/0.1969, allocations: 125.7 kB / 0.6873 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.197, allocations: 7.906 kB / 0.6873 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.2002, allocations: 1.403 MB / 0.6887 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2002, allocations: 4 kB / 0.6887 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.2002, allocations: 4 kB / 0.6887 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2003, allocations: 3.938 kB / 0.6887 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.2031, allocations: 1.814 MB / 0.6905 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2032, allocations: 4.031 kB / 0.6905 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.204, allocations: 111.9 kB / 0.6906 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.204, allocations: 7.984 kB / 0.6906 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.2041, allocations: 27.94 kB / 0.6906 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2041, allocations: 4 kB / 0.6906 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2041, allocations: 0 / 0.6906 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.2064, allocations: 1.463 MB / 0.6921 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.2065, allocations: 93.02 kB / 0.6922 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.2066, allocations: 15.94 kB / 0.6922 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.2071, allocations: 8 kB / 0.6922 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2073, allocations: 47.91 kB / 0.6922 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/0.2074, allocations: 31.98 kB / 0.6923 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.2074, allocations: 75.28 kB / 0.6923 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2074, allocations: 0 / 0.6923 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005548/0.208, allocations: 180 kB / 0.6925 GB, free: 9.184 MB / 0.5294 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.0005065/0.2085, allocations: 227.2 kB / 0.6927 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.2098, allocations: 0.7223 MB / 0.6934 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2098, allocations: 3.938 kB / 0.6934 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.2105, allocations: 451.7 kB / 0.6939 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2108, allocations: 16 kB / 0.6939 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.2143, allocations: 0.8253 MB / 0.6947 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.2146, allocations: 0.7182 MB / 0.6954 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/0.2152, allocations: 95.41 kB / 0.6955 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.2152, allocations: 0 / 0.6955 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.01109/0.2263, allocations: 6.934 MB / 0.7022 GB, free: 15.21 MB / 0.545 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)