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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 107.7 kB / 18.89 MB, free: 2.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 198.7 kB / 22.17 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9555/0.9555, allocations: 145.2 MB / 451.3 MB, free: 5.977 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 80.66 kB / 0.6253 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1686, allocations: 86.62 MB / 0.7099 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001756/0.1703, allocations: 0.6303 MB / 0.7105 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1721, allocations: 1.303 MB / 0.7118 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1721, allocations: 0 / 0.7118 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.1722, allocations: 3.938 kB / 0.7118 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.983e-05/0.1722, allocations: 0 / 0.7118 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1726, allocations: 75.73 kB / 0.7119 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1726, allocations: 23.91 kB / 0.7119 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1727, allocations: 4 kB / 0.7119 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.1727, allocations: 7.984 kB / 0.7119 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.1728, allocations: 19.92 kB / 0.7119 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1728, allocations: 4 kB / 0.7119 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.173, allocations: 99.83 kB / 0.712 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.173, allocations: 7.984 kB / 0.712 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.1731, allocations: 15.92 kB / 0.7121 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1732, allocations: 67.73 kB / 0.7121 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1732, allocations: 0 / 0.7121 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1732, allocations: 0 / 0.7121 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1732, allocations: 0 / 0.7121 GB, free: 6.746 MB / 0.5294 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.1737, allocations: 351.3 kB / 0.7125 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1737, allocations: 8.031 kB / 0.7125 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1738, allocations: 8.938 kB / 0.7125 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1739, allocations: 168.3 kB / 0.7126 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1739, allocations: 4.375 kB / 0.7126 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.174, allocations: 384 / 0.7126 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1741, allocations: 57.94 kB / 0.7127 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1741, allocations: 4 kB / 0.7127 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1741, allocations: 0 / 0.7127 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1741, allocations: 0 / 0.7127 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.1742, allocations: 31.91 kB / 0.7127 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.1744, allocations: 165.6 kB / 0.7129 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1745, allocations: 54.56 kB / 0.7129 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.1746, allocations: 29.08 kB / 0.713 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/0.1751, allocations: 0.5622 MB / 0.7135 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1752, allocations: 38.44 kB / 0.7136 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1752, allocations: 0 / 0.7136 GB, free: 4.992 MB / 0.5294 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.02005/0.1952, allocations: 4.389 MB / 0.7178 GB, free: 468 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1953, allocations: 55.41 kB / 0.7179 GB, free: 400 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.1954, allocations: 89.86 kB / 0.718 GB, free: 300 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-05/0.1954, allocations: 29.69 kB / 0.718 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1955, allocations: 84.14 kB / 0.7181 GB, free: 176 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1956, allocations: 59.48 kB / 0.7181 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.1958, allocations: 89.67 kB / 0.7182 GB, free: 20 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.196, allocations: 323 kB / 0.7185 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.1965, allocations: 315.8 kB / 0.7188 GB, free: 15.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.1971, allocations: 310.4 kB / 0.7191 GB, free: 15.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.1986, allocations: 0.774 MB / 0.7199 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1986, allocations: 0 / 0.7199 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001622/0.2003, allocations: 0.8043 MB / 0.7207 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2003, allocations: 4 kB / 0.7207 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2003, allocations: 0 / 0.7207 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2003, allocations: 4 kB / 0.7207 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.2011, allocations: 91.94 kB / 0.7208 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2011, allocations: 4 kB / 0.7208 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.2016, allocations: 12 kB / 0.7208 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.2017, allocations: 35.97 kB / 0.7208 GB, free: 13.35 MB / 0.545 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.000201/0.2019, allocations: 121.7 kB / 0.7209 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.202, allocations: 7.953 kB / 0.7209 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.2052, allocations: 1.396 MB / 0.7223 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2052, allocations: 4 kB / 0.7223 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2052, allocations: 0 / 0.7223 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2052, allocations: 3.984 kB / 0.7223 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.2082, allocations: 1.814 MB / 0.7241 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2082, allocations: 0 / 0.7241 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.209, allocations: 107.9 kB / 0.7242 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.209, allocations: 4.031 kB / 0.7242 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.2091, allocations: 31.94 kB / 0.7242 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2091, allocations: 4 kB / 0.7242 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2091, allocations: 3.984 kB / 0.7242 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.2116, allocations: 1.463 MB / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.2117, allocations: 96.98 kB / 0.7257 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.2118, allocations: 15.92 kB / 0.7258 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.2123, allocations: 16.06 kB / 0.7258 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.2124, allocations: 39.91 kB / 0.7258 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.2125, allocations: 32 kB / 0.7258 GB, free: 8.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.2125, allocations: 75.28 kB / 0.7259 GB, free: 8.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2125, allocations: 0 / 0.7259 GB, free: 8.008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000609/0.2131, allocations: 183.7 kB / 0.7261 GB, free: 7.828 MB / 0.545 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.0005364/0.2137, allocations: 226.8 kB / 0.7263 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.215, allocations: 0.7145 MB / 0.727 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.215, allocations: 0 / 0.727 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.2156, allocations: 403.6 kB / 0.7274 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.216, allocations: 20.75 kB / 0.7274 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.2193, allocations: 0.8484 MB / 0.7282 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.2196, allocations: 0.7182 MB / 0.7289 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/0.2202, allocations: 95.41 kB / 0.729 GB, free: 4.742 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.2202, allocations: 3.938 kB / 0.729 GB, free: 4.738 MB / 0.545 GB Notification: Performance of Templates: time 0.0119/0.2321, allocations: 6.937 MB / 0.7358 GB, free: 13.88 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.352463284973055] Failed to read output from testmodel.py, exit status != 0: 0.23994838609360158 0.552473874 0.07825839500000001 Calling exit ...