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.001484/0.001484, allocations: 106 kB / 16.41 MB, free: 6.496 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.00183/0.00183, allocations: 191 kB / 17.34 MB, free: 5.766 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.14 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.8671/0.8671, allocations: 143 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 0.5962 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1395, allocations: 82.03 MB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001848/0.1414, allocations: 0.6217 MB / 0.677 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1434, allocations: 1.283 MB / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.1434, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1434, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.1435, allocations: 3.938 kB / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.1441, allocations: 83.72 kB / 0.6783 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.1441, allocations: 19.98 kB / 0.6783 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.1442, allocations: 0 / 0.6783 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1442, allocations: 15.92 kB / 0.6783 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.1443, allocations: 15.97 kB / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1443, allocations: 0 / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.1446, allocations: 95.91 kB / 0.6784 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.1446, allocations: 11.92 kB / 0.6784 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.1446, allocations: 11.92 kB / 0.6785 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1448, allocations: 71.8 kB / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1448, allocations: 0 / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1448, allocations: 0 / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1448, allocations: 4 kB / 0.6785 GB, free: 8.07 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.0004793/0.1453, allocations: 351.5 kB / 0.6789 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1454, allocations: 8.031 kB / 0.6789 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1454, allocations: 4.844 kB / 0.6789 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1456, allocations: 172.3 kB / 0.679 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1456, allocations: 4.375 kB / 0.679 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.1456, allocations: 8.375 kB / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1458, allocations: 53.98 kB / 0.6791 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1458, allocations: 0 / 0.6791 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1458, allocations: 4 kB / 0.6791 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1458, allocations: 0 / 0.6791 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.1459, allocations: 27.97 kB / 0.6791 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.1461, allocations: 161.7 kB / 0.6793 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1462, allocations: 66.48 kB / 0.6794 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.1463, allocations: 24.84 kB / 0.6794 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.1468, allocations: 0.5544 MB / 0.6799 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1468, allocations: 42.44 kB / 0.68 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1468, allocations: 0 / 0.68 GB, free: 6.316 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.01879/0.1656, allocations: 4.377 MB / 0.6842 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1657, allocations: 55.41 kB / 0.6843 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.1658, allocations: 93.86 kB / 0.6844 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/0.1658, allocations: 33.83 kB / 0.6844 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.1659, allocations: 80.14 kB / 0.6845 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.166, allocations: 59.17 kB / 0.6845 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.1662, allocations: 93.67 kB / 0.6846 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1664, allocations: 322.8 kB / 0.6849 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.1669, allocations: 311.8 kB / 0.6852 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.1674, allocations: 311.8 kB / 0.6855 GB, free: 424 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.1689, allocations: 0.769 MB / 0.6863 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1689, allocations: 4 kB / 0.6863 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00146/0.1704, allocations: 0.7982 MB / 0.6871 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1704, allocations: 4 kB / 0.6871 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1704, allocations: 4 kB / 0.6871 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1704, allocations: 0 / 0.6871 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.1712, allocations: 99.88 kB / 0.6872 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1713, allocations: 0 / 0.6872 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.1718, allocations: 8 kB / 0.6872 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.1719, allocations: 31.98 kB / 0.6872 GB, free: 14.69 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.0001838/0.172, allocations: 125.8 kB / 0.6873 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.1721, allocations: 7.906 kB / 0.6873 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.1753, allocations: 1.399 MB / 0.6887 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1753, allocations: 4 kB / 0.6887 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1753, allocations: 0 / 0.6887 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1753, allocations: 7.984 kB / 0.6887 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.1785, allocations: 1.814 MB / 0.6905 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1785, allocations: 7.938 kB / 0.6905 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.1793, allocations: 103.9 kB / 0.6906 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1793, allocations: 0 / 0.6906 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.1794, allocations: 31.94 kB / 0.6906 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1794, allocations: 0 / 0.6906 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1794, allocations: 0 / 0.6906 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.1817, allocations: 1.471 MB / 0.6921 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1818, allocations: 92.95 kB / 0.6921 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.1819, allocations: 11.88 kB / 0.6922 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.1824, allocations: 15.98 kB / 0.6922 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.1825, allocations: 39.97 kB / 0.6922 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.1826, allocations: 32 kB / 0.6922 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.1827, allocations: 79.34 kB / 0.6923 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1827, allocations: 0 / 0.6923 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005882/0.1833, allocations: 180 kB / 0.6925 GB, free: 9.164 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.0005235/0.1838, allocations: 223.1 kB / 0.6927 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.185, allocations: 0.7223 MB / 0.6934 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.185, allocations: 0 / 0.6934 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.1857, allocations: 455.7 kB / 0.6938 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.186, allocations: 22.34 kB / 0.6939 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.1893, allocations: 0.8292 MB / 0.6947 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1896, allocations: 0.7181 MB / 0.6954 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.1901, allocations: 95.41 kB / 0.6955 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1901, allocations: 0 / 0.6955 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of Templates: time 0.009782/0.1999, allocations: 6.955 MB / 0.7023 GB, free: 15.16 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)