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.001705/0.001705, allocations: 106 kB / 16.4 MB, free: 6.375 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.001914/0.001914, allocations: 190.8 kB / 17.33 MB, free: 5.84 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.447/1.447, 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.9334/0.9334, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.69 kB / 0.5962 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1685, allocations: 82.04 MB / 0.6764 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001727/0.1702, allocations: 0.6156 MB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1719, allocations: 1.291 MB / 0.6782 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.172, allocations: 4 kB / 0.6782 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.172, allocations: 0 / 0.6782 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.987e-05/0.172, allocations: 3.938 kB / 0.6782 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1724, allocations: 71.72 kB / 0.6783 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.1724, allocations: 23.98 kB / 0.6783 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.1725, allocations: 0 / 0.6783 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.1725, allocations: 23.86 kB / 0.6783 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.1726, allocations: 11.98 kB / 0.6783 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1726, allocations: 3.984 kB / 0.6784 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.1728, allocations: 95.84 kB / 0.6784 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1728, allocations: 11.98 kB / 0.6785 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1729, allocations: 15.92 kB / 0.6785 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.173, allocations: 63.8 kB / 0.6785 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.173, allocations: 0 / 0.6785 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.173, allocations: 0 / 0.6785 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.173, allocations: 0 / 0.6785 GB, free: 8.023 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.0005033/0.1735, allocations: 355.3 kB / 0.6789 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1736, allocations: 8.031 kB / 0.6789 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1736, allocations: 4.938 kB / 0.6789 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1737, allocations: 172.3 kB / 0.679 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1737, allocations: 4.359 kB / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1738, allocations: 4.375 kB / 0.6791 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1739, allocations: 54 kB / 0.6791 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1739, allocations: 0 / 0.6791 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1739, allocations: 4 kB / 0.6791 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1739, allocations: 4 kB / 0.6791 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.174, allocations: 23.97 kB / 0.6791 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.1742, allocations: 169.6 kB / 0.6793 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1743, allocations: 58.5 kB / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.1744, allocations: 28.83 kB / 0.6794 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.1749, allocations: 0.5583 MB / 0.6799 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.175, allocations: 38.5 kB / 0.68 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.175, allocations: 0 / 0.68 GB, free: 6.266 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.01964/0.1946, allocations: 4.379 MB / 0.6842 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1947, allocations: 55.41 kB / 0.6843 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.1947, allocations: 93.86 kB / 0.6844 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.1948, allocations: 25.7 kB / 0.6844 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1948, allocations: 84.14 kB / 0.6845 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.195, allocations: 55.53 kB / 0.6845 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.1952, allocations: 97.8 kB / 0.6846 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1954, allocations: 326.7 kB / 0.6849 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.196, allocations: 311.8 kB / 0.6852 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.1965, allocations: 307.8 kB / 0.6855 GB, free: 376 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.1982, allocations: 0.7768 MB / 0.6863 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1982, allocations: 0 / 0.6863 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001681/0.1998, allocations: 0.7981 MB / 0.6871 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1999, allocations: 4 kB / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1999, allocations: 0 / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1999, allocations: 4 kB / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.2007, allocations: 95.88 kB / 0.6872 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2007, allocations: 4 kB / 0.6872 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.2012, allocations: 15.98 kB / 0.6872 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.2013, allocations: 31.98 kB / 0.6872 GB, free: 14.63 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.0002011/0.2015, allocations: 122.4 kB / 0.6873 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.2016, allocations: 7.953 kB / 0.6873 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.205, allocations: 1.403 MB / 0.6887 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.205, allocations: 4 kB / 0.6887 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2051, allocations: 0 / 0.6887 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2051, allocations: 7.922 kB / 0.6887 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.2082, allocations: 1.802 MB / 0.6905 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2082, allocations: 4.031 kB / 0.6905 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.209, allocations: 103.9 kB / 0.6906 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.209, allocations: 4 kB / 0.6906 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.337e-05/0.2091, allocations: 31.94 kB / 0.6906 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.2091, allocations: 4 kB / 0.6906 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2091, allocations: 0 / 0.6906 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.2121, allocations: 1.47 MB / 0.6921 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.2122, allocations: 97.05 kB / 0.6922 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/0.2123, allocations: 11.94 kB / 0.6922 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.2128, allocations: 15.98 kB / 0.6922 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.213, allocations: 39.97 kB / 0.6922 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.213, allocations: 32 kB / 0.6923 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.2131, allocations: 75.28 kB / 0.6923 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2131, allocations: 0 / 0.6923 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006064/0.2137, allocations: 183.7 kB / 0.6925 GB, free: 9.109 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.0005336/0.2142, allocations: 226.8 kB / 0.6927 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.2156, allocations: 0.7163 MB / 0.6934 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2156, allocations: 3.938 kB / 0.6934 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000686/0.2163, allocations: 403.7 kB / 0.6938 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.2166, allocations: 16 kB / 0.6938 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.2201, allocations: 0.8316 MB / 0.6946 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2205, allocations: 0.722 MB / 0.6953 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.221, allocations: 95.41 kB / 0.6954 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of SimCode: time 7.51e-07/0.221, allocations: 0 / 0.6954 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of Templates: time 0.011/0.232, allocations: 6.928 MB / 0.7022 GB, free: 15.18 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)