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.001431/0.001431, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002346/0.002346, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.793 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 / 457.4 MB, free: 15.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",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.002304/0.002304, allocations: 76.02 kB / 0.6331 GB, free: 6.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1902, allocations: 87.88 MB / 0.719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002001/0.1922, allocations: 0.6079 MB / 0.7196 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1942, allocations: 1.307 MB / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.1942, allocations: 0 / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.1942, allocations: 0 / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.069e-05/0.1942, allocations: 3.938 kB / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1947, allocations: 87.66 kB / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.1948, allocations: 23.98 kB / 0.7209 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1948, allocations: 0 / 0.7209 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.1948, allocations: 19.97 kB / 0.721 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.1949, allocations: 11.92 kB / 0.721 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1949, allocations: 3.938 kB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.1952, allocations: 103.9 kB / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.1953, allocations: 7.984 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1953, allocations: 7.938 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1955, allocations: 83.77 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1955, allocations: 0 / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1955, allocations: 0 / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1955, allocations: 0 / 0.7212 GB, free: 12.48 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.0005077/0.196, allocations: 282.2 kB / 0.7214 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1961, allocations: 8.031 kB / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.1961, allocations: 34.73 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1961, allocations: 4.938 kB / 0.7215 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1963, allocations: 106.5 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1963, allocations: 12.38 kB / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1963, allocations: 12.31 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1965, allocations: 91.42 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1965, allocations: 0 / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1965, allocations: 3.984 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1965, allocations: 0 / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.1966, allocations: 23.98 kB / 0.7217 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.1968, allocations: 136.7 kB / 0.7219 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1969, allocations: 58.5 kB / 0.7219 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.197, allocations: 20.84 kB / 0.7219 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.1972, allocations: 43.91 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1973, allocations: 38.5 kB / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.1973, allocations: 0 / 0.722 GB, free: 11.49 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.02004/0.2173, allocations: 4.165 MB / 0.7261 GB, free: 7.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.2173, allocations: 59.41 kB / 0.7261 GB, free: 7.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.2174, allocations: 89.86 kB / 0.7262 GB, free: 7.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.2175, allocations: 29.7 kB / 0.7262 GB, free: 7.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.2175, allocations: 84.08 kB / 0.7263 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.2177, allocations: 63.47 kB / 0.7264 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.2179, allocations: 93.58 kB / 0.7265 GB, free: 6.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.218, allocations: 318.8 kB / 0.7268 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.2186, allocations: 315.9 kB / 0.7271 GB, free: 6.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.2191, allocations: 307.9 kB / 0.7274 GB, free: 5.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.2207, allocations: 0.7722 MB / 0.7281 GB, free: 5.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2207, allocations: 4 kB / 0.7281 GB, free: 5.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001632/0.2224, allocations: 0.7981 MB / 0.7289 GB, free: 4.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2224, allocations: 6.188 kB / 0.7289 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2224, allocations: 0 / 0.7289 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2224, allocations: 4 kB / 0.7289 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/0.2233, allocations: 95.94 kB / 0.729 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2233, allocations: 4.484 kB / 0.729 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.2238, allocations: 4 kB / 0.729 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.2239, allocations: 35.98 kB / 0.7291 GB, free: 4.129 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.0002038/0.2241, allocations: 125.8 kB / 0.7292 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.2242, allocations: 11.94 kB / 0.7292 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.2274, allocations: 1.396 MB / 0.7305 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.2274, allocations: 4 kB / 0.7306 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2274, allocations: 4 kB / 0.7306 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2274, allocations: 0 / 0.7306 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.2305, allocations: 1.704 MB / 0.7322 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2305, allocations: 4 kB / 0.7322 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.2313, allocations: 111.9 kB / 0.7323 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2313, allocations: 0 / 0.7323 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.2314, allocations: 35.92 kB / 0.7324 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.2314, allocations: 3.984 kB / 0.7324 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2314, allocations: 0 / 0.7324 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.234, allocations: 1.47 MB / 0.7338 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.234, allocations: 15.88 kB / 0.7338 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.627e-05/0.2341, allocations: 20.03 kB / 0.7338 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.2346, allocations: 8 kB / 0.7338 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.2348, allocations: 43.95 kB / 0.7339 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/0.2348, allocations: 28 kB / 0.7339 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.2349, allocations: 79.27 kB / 0.734 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2349, allocations: 0 / 0.734 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006294/0.2355, allocations: 187.7 kB / 0.7342 GB, free: 14.79 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.003301/0.2388, allocations: 2.131 MB / 0.7362 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2401, allocations: 0.7185 MB / 0.737 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2401, allocations: 0 / 0.737 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.2408, allocations: 404 kB / 0.7373 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.2411, allocations: 16 kB / 0.7374 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.2493, allocations: 3.701 MB / 0.741 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2494, allocations: 103.4 kB / 0.7411 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00114/0.2506, allocations: 297.6 kB / 0.7413 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/0.2512, allocations: 115.4 kB / 0.7415 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.2512, allocations: 4 kB / 0.7415 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3759/0.6271, allocations: 14.11 MB / 0.7552 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.87, allocations: 6.312 kB / 0.7552 GB, free: 28.4 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 os._exit(0), Time elapsed: 15.577244942076504] Failed to read output from testmodel.py, exit status != 0: 11.992834424134344 12.007311801 11.809090419 Calling exit ...