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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 215 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8418/0.8418, allocations: 145 MB / 458.2 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 70.72 kB / 0.6344 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1554, allocations: 87.89 MB / 0.7203 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001601/0.157, allocations: 0.6145 MB / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1588, allocations: 1.381 MB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.1588, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.1588, allocations: 3.938 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.334e-05/0.1588, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1592, allocations: 87.66 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.1592, allocations: 19.98 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.992e-05/0.1593, allocations: 4 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.1593, allocations: 15.97 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.1594, allocations: 11.92 kB / 0.7223 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1594, allocations: 8 kB / 0.7224 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.1596, allocations: 111.9 kB / 0.7225 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1597, allocations: 11.92 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1597, allocations: 7.938 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1598, allocations: 79.77 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1598, allocations: 0 / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1598, allocations: 0 / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.1598, allocations: 0 / 0.7226 GB, free: 12.5 MB / 0.545 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.000429/0.1603, allocations: 282.1 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1603, allocations: 12.03 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.1603, allocations: 0.9375 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1604, allocations: 114.4 kB / 0.7229 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1604, allocations: 384 / 0.7229 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1605, allocations: 8.375 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1606, allocations: 61.97 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1606, allocations: 0 / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1606, allocations: 4 kB / 0.723 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1606, allocations: 0 / 0.723 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.1607, allocations: 27.98 kB / 0.723 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1609, allocations: 136.7 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.161, allocations: 58.48 kB / 0.7232 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.161, allocations: 24.86 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.1613, allocations: 39.95 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1613, allocations: 38.5 kB / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1613, allocations: 0 / 0.7233 GB, free: 11.59 MB / 0.545 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.01905/0.1804, allocations: 4.179 MB / 0.7274 GB, free: 7.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1804, allocations: 55.39 kB / 0.7275 GB, free: 7.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.1805, allocations: 93.86 kB / 0.7276 GB, free: 7.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.1806, allocations: 25.7 kB / 0.7276 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.1806, allocations: 84.14 kB / 0.7277 GB, free: 7.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1807, allocations: 59.48 kB / 0.7277 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.1809, allocations: 85.67 kB / 0.7278 GB, free: 6.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1811, allocations: 326.9 kB / 0.7281 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.1816, allocations: 307.9 kB / 0.7284 GB, free: 6.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.1821, allocations: 315.8 kB / 0.7287 GB, free: 5.949 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1836, allocations: 0.7719 MB / 0.7295 GB, free: 5.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1836, allocations: 0 / 0.7295 GB, free: 5.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001515/0.1851, allocations: 0.802 MB / 0.7302 GB, free: 4.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1851, allocations: 4 kB / 0.7302 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1852, allocations: 0 / 0.7302 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1852, allocations: 0 / 0.7302 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.186, allocations: 91.89 kB / 0.7303 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.186, allocations: 4 kB / 0.7303 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.1865, allocations: 12 kB / 0.7303 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.1865, allocations: 35.97 kB / 0.7304 GB, free: 4.223 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.0001837/0.1867, allocations: 119.1 kB / 0.7305 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.1868, allocations: 7.953 kB / 0.7305 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.1898, allocations: 1.399 MB / 0.7319 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1898, allocations: 4 kB / 0.7319 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1898, allocations: 0 / 0.7319 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1898, allocations: 7.969 kB / 0.7319 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.1928, allocations: 1.79 MB / 0.7336 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1928, allocations: 4 kB / 0.7336 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.1935, allocations: 107.9 kB / 0.7337 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.1935, allocations: 8.031 kB / 0.7337 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.1936, allocations: 31.92 kB / 0.7338 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1936, allocations: 4 kB / 0.7338 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1936, allocations: 0 / 0.7338 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.1959, allocations: 1.458 MB / 0.7352 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.196, allocations: 15.88 kB / 0.7352 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.196, allocations: 23.86 kB / 0.7352 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.1965, allocations: 16 kB / 0.7353 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1966, allocations: 43.95 kB / 0.7353 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/0.1967, allocations: 28 kB / 0.7353 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.1968, allocations: 75.28 kB / 0.7354 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1968, allocations: 0 / 0.7354 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005569/0.1973, allocations: 191.7 kB / 0.7356 GB, free: 14.8 MB / 0.5606 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.0004953/0.1978, allocations: 227.4 kB / 0.7358 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.199, allocations: 0.7201 MB / 0.7365 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.199, allocations: 0 / 0.7365 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.1997, allocations: 403.7 kB / 0.7369 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2, allocations: 16 kB / 0.7369 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.2032, allocations: 0.8213 MB / 0.7377 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2035, allocations: 0.7181 MB / 0.7384 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.2041, allocations: 91.41 kB / 0.7385 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2041, allocations: 0 / 0.7385 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.01044/0.2145, allocations: 7.125 MB / 0.7454 GB, free: 4.707 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: 7.631177989998832] Failed to read output from testmodel.py, exit status != 0: 0.22230681707151234 0.47969594800000004 0.317284913 Calling exit ...