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.001416/0.001416, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001626/0.001626, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.9293/0.9293, allocations: 145 MB / 457.4 MB, free: 15.3 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.00203/0.00203, allocations: 70.98 kB / 0.6336 GB, free: 6.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1744, allocations: 87.88 MB / 0.7194 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001875/0.1762, allocations: 0.6142 MB / 0.72 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1782, allocations: 1.299 MB / 0.7213 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.1782, allocations: 4 kB / 0.7213 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1782, allocations: 0 / 0.7213 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.1782, allocations: 7.938 kB / 0.7213 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1786, allocations: 83.72 kB / 0.7214 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.1787, allocations: 19.98 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.1788, allocations: 3.984 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.1788, allocations: 11.94 kB / 0.7214 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.1789, allocations: 15.97 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1789, allocations: 0 / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.1792, allocations: 115.8 kB / 0.7216 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.1792, allocations: 8 kB / 0.7216 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.1792, allocations: 7.938 kB / 0.7216 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1794, allocations: 75.83 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1794, allocations: 0 / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1794, allocations: 3.938 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1794, allocations: 3.938 kB / 0.7216 GB, free: 12.05 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.0005126/0.1799, allocations: 282.1 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.18, allocations: 8.031 kB / 0.7219 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.18, allocations: 4.938 kB / 0.7219 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1801, allocations: 110.5 kB / 0.722 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1801, allocations: 8.375 kB / 0.722 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1801, allocations: 8.375 kB / 0.7221 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1803, allocations: 83.62 kB / 0.7221 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1803, allocations: 4 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1803, allocations: 4 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1804, allocations: 0 / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1804, allocations: 19.98 kB / 0.7222 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1806, allocations: 113.3 kB / 0.7223 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1807, allocations: 50.56 kB / 0.7223 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1808, allocations: 28.84 kB / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.181, allocations: 35.95 kB / 0.7224 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.181, allocations: 42.5 kB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.083e-06/0.181, allocations: 0 / 0.7224 GB, free: 11.14 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.01924/0.2003, allocations: 4.179 MB / 0.7265 GB, free: 6.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.2003, allocations: 59.41 kB / 0.7266 GB, free: 6.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.2004, allocations: 89.86 kB / 0.7266 GB, free: 6.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.675e-05/0.2005, allocations: 29.7 kB / 0.7267 GB, free: 6.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.2005, allocations: 88.12 kB / 0.7268 GB, free: 6.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2006, allocations: 51.48 kB / 0.7268 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.2009, allocations: 97.66 kB / 0.7269 GB, free: 6.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.201, allocations: 322.8 kB / 0.7272 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.2015, allocations: 311.8 kB / 0.7275 GB, free: 5.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.2021, allocations: 308 kB / 0.7278 GB, free: 5.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.2036, allocations: 0.7723 MB / 0.7285 GB, free: 4.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2036, allocations: 7.984 kB / 0.7286 GB, free: 4.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001587/0.2052, allocations: 0.7981 MB / 0.7293 GB, free: 3.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2052, allocations: 8 kB / 0.7293 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2052, allocations: 0 / 0.7293 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2053, allocations: 0 / 0.7293 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.206, allocations: 95.88 kB / 0.7294 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.206, allocations: 0 / 0.7294 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.2065, allocations: 12 kB / 0.7294 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.2066, allocations: 31.98 kB / 0.7295 GB, free: 3.77 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.0001962/0.2068, allocations: 125.7 kB / 0.7296 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.2069, allocations: 3.953 kB / 0.7296 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.21, allocations: 1.403 MB / 0.731 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.21, allocations: 4 kB / 0.731 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.21, allocations: 0 / 0.731 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.21, allocations: 0 / 0.731 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.2133, allocations: 1.67 MB / 0.7326 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2133, allocations: 0 / 0.7326 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.2141, allocations: 111.9 kB / 0.7327 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2141, allocations: 0 / 0.7327 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.2142, allocations: 31.98 kB / 0.7327 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2142, allocations: 0 / 0.7327 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.2142, allocations: 7.938 kB / 0.7328 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.2167, allocations: 1.458 MB / 0.7342 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.2167, allocations: 23.92 kB / 0.7342 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.2168, allocations: 12 kB / 0.7342 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.2173, allocations: 8 kB / 0.7342 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.2174, allocations: 55.77 kB / 0.7343 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.2175, allocations: 31.98 kB / 0.7343 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.2175, allocations: 75.28 kB / 0.7344 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2175, allocations: 0 / 0.7344 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005603/0.2181, allocations: 187.7 kB / 0.7346 GB, free: 14.49 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.0005188/0.2186, allocations: 231.4 kB / 0.7348 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.2199, allocations: 0.7241 MB / 0.7355 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2199, allocations: 0 / 0.7355 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.2206, allocations: 399.7 kB / 0.7359 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2209, allocations: 16 kB / 0.7359 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.2243, allocations: 0.7848 MB / 0.7366 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2244, allocations: 99.53 kB / 0.7367 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001015/0.2254, allocations: 301.4 kB / 0.737 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.226, allocations: 87.42 kB / 0.7371 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.226, allocations: 8 kB / 0.7371 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.3389/0.5648, allocations: 12.04 MB / 0.7489 GB, free: 31.89 MB / 0.5606 GB " [Timeout remaining time 659] 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 sys.exit(0), Time elapsed: 6.067065216600895] Failed to read output from testmodel.py, exit status != 0: 0.5726294610649347 0.5853759159999999 0.40303071199999996 Calling exit ...