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.001275/0.001275, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001396/0.001396, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9245/0.9245, allocations: 145 MB / 458.2 MB, free: 15.55 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002347/0.002347, allocations: 65.47 kB / 0.634 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1862, allocations: 87.88 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001705/0.1879, allocations: 0.6272 MB / 0.7204 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1896, allocations: 1.365 MB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.1896, allocations: 4 kB / 0.7218 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.1896, allocations: 4 kB / 0.7218 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.129e-05/0.1897, allocations: 3.938 kB / 0.7218 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.19, allocations: 75.73 kB / 0.7218 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.1901, allocations: 31.95 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.1901, allocations: 0 / 0.7219 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1902, allocations: 15.94 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.1902, allocations: 7.984 kB / 0.7219 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1902, allocations: 3.938 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.1905, allocations: 123.8 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1905, allocations: 11.92 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1905, allocations: 11.92 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1907, allocations: 71.8 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1907, allocations: 0 / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1907, allocations: 0 / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1907, allocations: 0 / 0.7221 GB, free: 13.06 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.0004298/0.1911, allocations: 282.1 kB / 0.7224 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1912, allocations: 8.031 kB / 0.7224 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.41e-05/0.1912, allocations: 4.188 kB / 0.7224 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.1912, allocations: 34.75 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.1912, allocations: 0.9375 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1913, allocations: 122.5 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1914, allocations: 4.375 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1914, allocations: 4.375 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1915, allocations: 57.56 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1915, allocations: 0 / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1915, allocations: 0 / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1915, allocations: 8 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.242e-05/0.1916, allocations: 23.97 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.1918, allocations: 132.8 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1919, allocations: 54.56 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.1919, allocations: 28.83 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.1922, allocations: 43.84 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.179e-05/0.1923, allocations: 34.56 kB / 0.7229 GB, free: 12.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1923, allocations: 0 / 0.7229 GB, free: 12.1 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.02005/0.2123, allocations: 4.177 MB / 0.727 GB, free: 7.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2124, allocations: 51.41 kB / 0.727 GB, free: 7.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.2124, allocations: 93.86 kB / 0.7271 GB, free: 7.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.2125, allocations: 29.7 kB / 0.7271 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.2125, allocations: 80.14 kB / 0.7272 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.2127, allocations: 67.45 kB / 0.7273 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.2129, allocations: 85.67 kB / 0.7274 GB, free: 7.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2131, allocations: 334.8 kB / 0.7277 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.2136, allocations: 311.9 kB / 0.728 GB, free: 6.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.2142, allocations: 303.9 kB / 0.7283 GB, free: 6.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.2157, allocations: 0.7719 MB / 0.729 GB, free: 5.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2157, allocations: 0 / 0.729 GB, free: 5.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001611/0.2173, allocations: 0.8038 MB / 0.7298 GB, free: 4.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2173, allocations: 4 kB / 0.7298 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2173, allocations: 0 / 0.7298 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2174, allocations: 0 / 0.7298 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.2182, allocations: 95.94 kB / 0.7299 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2182, allocations: 8 kB / 0.7299 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.2187, allocations: 4 kB / 0.7299 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.2188, allocations: 35.92 kB / 0.73 GB, free: 4.73 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.0002168/0.2191, allocations: 125.8 kB / 0.7301 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.2191, allocations: 11.89 kB / 0.7301 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.2224, allocations: 1.392 MB / 0.7314 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.2224, allocations: 4 kB / 0.7315 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2224, allocations: 0 / 0.7315 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2224, allocations: 3.984 kB / 0.7315 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.2255, allocations: 1.79 MB / 0.7332 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2255, allocations: 3.984 kB / 0.7332 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/0.2263, allocations: 111.9 kB / 0.7333 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.2263, allocations: 11.88 kB / 0.7333 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-05/0.2264, allocations: 24 kB / 0.7333 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2264, allocations: 4 kB / 0.7334 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2264, allocations: 0 / 0.7334 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.2289, allocations: 1.462 MB / 0.7348 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.229, allocations: 15.88 kB / 0.7348 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.2291, allocations: 16 kB / 0.7348 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.2296, allocations: 8 kB / 0.7348 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.2297, allocations: 47.89 kB / 0.7349 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/0.2298, allocations: 35.98 kB / 0.7349 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.2298, allocations: 75.28 kB / 0.735 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2298, allocations: 0 / 0.735 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00062/0.2305, allocations: 183.7 kB / 0.7351 GB, free: 15.32 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.003467/0.2339, allocations: 2.135 MB / 0.7372 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.2353, allocations: 0.7145 MB / 0.7379 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2353, allocations: 0 / 0.7379 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006613/0.236, allocations: 400 kB / 0.7383 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.2364, allocations: 25.61 kB / 0.7383 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.2448, allocations: 3.721 MB / 0.742 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2452, allocations: 0.7141 MB / 0.7427 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001076/0.2463, allocations: 293.5 kB / 0.7429 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/0.2469, allocations: 115.4 kB / 0.7431 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of SimCode: time 2.475e-06/0.2469, allocations: 0 / 0.7431 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3964/0.6434, allocations: 13.54 MB / 0.7563 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.94, allocations: 11.06 kB / 0.7563 GB, free: 28.96 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.873047467088327] Failed to read output from testmodel.py, exit status != 0: 12.10150398593396 12.122129955 11.926242399 Calling exit ...