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.0018/0.0018, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002193/0.002193, allocations: 214 kB / 23.03 MB, free: 4.926 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.475/1.475, allocations: 230.6 MB / 256.8 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.9986/0.9986, allocations: 145 MB / 458.2 MB, free: 15.24 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.001978/0.001978, allocations: 74.59 kB / 0.6339 GB, free: 6.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1949, allocations: 87.89 MB / 0.7197 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002145/0.1971, allocations: 0.5987 MB / 0.7203 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1991, allocations: 1.311 MB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.1991, allocations: 0 / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.1991, allocations: 7.938 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.824e-05/0.1992, allocations: 0 / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1996, allocations: 75.73 kB / 0.7217 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.1997, allocations: 27.92 kB / 0.7217 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1997, allocations: 3.984 kB / 0.7217 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.1998, allocations: 19.92 kB / 0.7217 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1998, allocations: 7.984 kB / 0.7217 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1998, allocations: 0 / 0.7217 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.2002, allocations: 111.9 kB / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2002, allocations: 15.92 kB / 0.7219 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.2002, allocations: 11.98 kB / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.2004, allocations: 71.78 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2004, allocations: 0 / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2004, allocations: 4 kB / 0.7219 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2004, allocations: 0 / 0.7219 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.0004705/0.2009, allocations: 278.1 kB / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2009, allocations: 11.97 kB / 0.7222 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.827e-05/0.2009, allocations: 12.19 kB / 0.7222 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.453e-05/0.201, allocations: 34.73 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.201, allocations: 8.938 kB / 0.7223 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2011, allocations: 110.4 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2011, allocations: 8.375 kB / 0.7224 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.2011, allocations: 384 / 0.7224 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2013, allocations: 83.31 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2013, allocations: 4 kB / 0.7225 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2013, allocations: 0 / 0.7225 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2013, allocations: 0 / 0.7225 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.2014, allocations: 19.98 kB / 0.7225 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.2016, allocations: 140.7 kB / 0.7226 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2017, allocations: 62.5 kB / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.2018, allocations: 24.83 kB / 0.7227 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.202, allocations: 39.91 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2021, allocations: 30.56 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2021, allocations: 4 kB / 0.7228 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.02126/0.2233, allocations: 4.174 MB / 0.7269 GB, free: 7.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.2234, allocations: 51.41 kB / 0.7269 GB, free: 7.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.2235, allocations: 93.86 kB / 0.727 GB, free: 7.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/0.2235, allocations: 29.7 kB / 0.727 GB, free: 7.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.2236, allocations: 80.14 kB / 0.7271 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2237, allocations: 63.47 kB / 0.7272 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.224, allocations: 93.58 kB / 0.7272 GB, free: 6.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2241, allocations: 318.9 kB / 0.7276 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.2247, allocations: 315.9 kB / 0.7279 GB, free: 6.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.2253, allocations: 311.9 kB / 0.7281 GB, free: 5.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.2269, allocations: 0.7718 MB / 0.7289 GB, free: 5.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2269, allocations: 0 / 0.7289 GB, free: 5.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001683/0.2286, allocations: 0.8 MB / 0.7297 GB, free: 4.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2286, allocations: 4 kB / 0.7297 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2286, allocations: 0 / 0.7297 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2286, allocations: 4 kB / 0.7297 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.2294, allocations: 103.8 kB / 0.7298 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2295, allocations: 0 / 0.7298 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.2299, allocations: 8 kB / 0.7298 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.23, allocations: 35.92 kB / 0.7298 GB, free: 4.121 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.0002242/0.2303, allocations: 118.9 kB / 0.7299 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.2303, allocations: 11.94 kB / 0.73 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/0.2337, allocations: 1.397 MB / 0.7313 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.2337, allocations: 4 kB / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2337, allocations: 0 / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2337, allocations: 0 / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.2369, allocations: 1.704 MB / 0.733 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2369, allocations: 0 / 0.733 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.2377, allocations: 111.9 kB / 0.7331 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.2377, allocations: 3.938 kB / 0.7331 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.762e-05/0.2378, allocations: 35.98 kB / 0.7331 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2378, allocations: 0 / 0.7331 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2378, allocations: 4.031 kB / 0.7331 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.2404, allocations: 1.466 MB / 0.7346 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.2404, allocations: 15.88 kB / 0.7346 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2405, allocations: 15.94 kB / 0.7346 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.241, allocations: 8 kB / 0.7346 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.2411, allocations: 43.95 kB / 0.7347 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.2412, allocations: 28 kB / 0.7347 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.2413, allocations: 79.27 kB / 0.7348 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2413, allocations: 3.938 kB / 0.7348 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006635/0.2419, allocations: 183.7 kB / 0.7349 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.00356/0.2455, allocations: 2.139 MB / 0.737 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.2469, allocations: 0.7106 MB / 0.7377 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2469, allocations: 0 / 0.7377 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.2476, allocations: 408 kB / 0.7381 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2479, allocations: 19.98 kB / 0.7381 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008163/0.2561, allocations: 3.701 MB / 0.7417 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2562, allocations: 107.6 kB / 0.7418 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001124/0.2573, allocations: 297.5 kB / 0.7421 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.2579, allocations: 115.4 kB / 0.7422 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/0.2579, allocations: 0 / 0.7422 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.6051, allocations: 13.86 MB / 0.7558 GB, free: 28.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12, allocations: 13.28 kB / 0.7558 GB, free: 28.81 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.92364927509334] Failed to read output from testmodel.py, exit status != 0: 12.166683804942295 12.191938549 11.987530025 Calling exit ...