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.001885/0.001885, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002477/0.002477, allocations: 210.9 kB / 22.24 MB, free: 5.242 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.805 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.9586/0.9586, allocations: 145 MB / 457.4 MB, free: 15.28 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.002302/0.002302, allocations: 74.2 kB / 0.6331 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1837, allocations: 87.88 MB / 0.719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002273/0.186, allocations: 0.6111 MB / 0.7196 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1886, allocations: 1.303 MB / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1886, allocations: 0 / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.1886, allocations: 0 / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.1887, allocations: 3.938 kB / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.1892, allocations: 83.73 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.1893, allocations: 27.91 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.1893, allocations: 4 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.1894, allocations: 11.98 kB / 0.721 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.1894, allocations: 19.8 kB / 0.721 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1894, allocations: 4 kB / 0.721 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1898, allocations: 107.9 kB / 0.7211 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.1898, allocations: 4 kB / 0.7211 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1898, allocations: 11.92 kB / 0.7211 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.19, allocations: 75.78 kB / 0.7212 GB, free: 12.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.19, allocations: 0 / 0.7212 GB, free: 12.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.19, allocations: 4 kB / 0.7212 GB, free: 12.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.1901, allocations: 0 / 0.7212 GB, free: 12.56 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.0005768/0.1906, allocations: 282.1 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1907, allocations: 12.03 kB / 0.7215 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.1907, allocations: 30.75 kB / 0.7215 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.1908, allocations: 4.938 kB / 0.7215 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1909, allocations: 110.5 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1909, allocations: 8.375 kB / 0.7216 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1909, allocations: 384 / 0.7216 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1911, allocations: 87.45 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1911, allocations: 0 / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1911, allocations: 4 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1911, allocations: 3.938 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.1912, allocations: 27.95 kB / 0.7217 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.1914, allocations: 132.8 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1916, allocations: 66.48 kB / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1918, allocations: 20.86 kB / 0.7219 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.192, allocations: 43.95 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.1921, allocations: 34.5 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1921, allocations: 0 / 0.722 GB, free: 11.57 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.02024/0.2123, allocations: 4.172 MB / 0.7261 GB, free: 7.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.2124, allocations: 51.41 kB / 0.7261 GB, free: 7.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.2125, allocations: 97.86 kB / 0.7262 GB, free: 7.141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/0.2126, allocations: 29.7 kB / 0.7262 GB, free: 7.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2126, allocations: 80.14 kB / 0.7263 GB, free: 7.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2127, allocations: 59.48 kB / 0.7264 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.213, allocations: 93.56 kB / 0.7265 GB, free: 6.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2131, allocations: 326.7 kB / 0.7268 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.2137, allocations: 311.8 kB / 0.7271 GB, free: 6.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.2142, allocations: 311.9 kB / 0.7274 GB, free: 5.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.2166, allocations: 0.772 MB / 0.7281 GB, free: 5.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2166, allocations: 0 / 0.7281 GB, free: 5.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002393/0.219, allocations: 0.8061 MB / 0.7289 GB, free: 4.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.219, allocations: 6.5 kB / 0.7289 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.219, allocations: 0 / 0.7289 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.219, allocations: 0 / 0.7289 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2201, allocations: 91.95 kB / 0.729 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2201, allocations: 7.938 kB / 0.729 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.2207, allocations: 4 kB / 0.729 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/0.2207, allocations: 35.97 kB / 0.7291 GB, free: 4.203 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.0002091/0.2209, allocations: 125.8 kB / 0.7292 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.221, allocations: 7.953 kB / 0.7292 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.2242, allocations: 1.396 MB / 0.7305 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2242, allocations: 4 kB / 0.7306 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2242, allocations: 4 kB / 0.7306 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2242, allocations: 3.984 kB / 0.7306 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.2274, allocations: 1.704 MB / 0.7322 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2275, allocations: 0 / 0.7322 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.2283, allocations: 107.9 kB / 0.7323 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2283, allocations: 0 / 0.7323 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.2284, allocations: 31.94 kB / 0.7324 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2284, allocations: 4 kB / 0.7324 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2284, allocations: 0 / 0.7324 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.231, allocations: 1.462 MB / 0.7338 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.231, allocations: 19.88 kB / 0.7338 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.2311, allocations: 15.94 kB / 0.7338 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.2316, allocations: 16.08 kB / 0.7338 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.2318, allocations: 43.95 kB / 0.7339 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.2318, allocations: 32 kB / 0.7339 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.2319, allocations: 75.28 kB / 0.734 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2319, allocations: 0 / 0.734 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005837/0.2325, allocations: 187.7 kB / 0.7342 GB, free: 14.88 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.003406/0.2359, allocations: 2.131 MB / 0.7362 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.2372, allocations: 0.7145 MB / 0.7369 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2372, allocations: 160 / 0.7369 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006968/0.2379, allocations: 408 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2383, allocations: 25.38 kB / 0.7374 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/0.2466, allocations: 3.705 MB / 0.741 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2468, allocations: 103.5 kB / 0.7411 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001079/0.2479, allocations: 293.6 kB / 0.7414 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/0.2484, allocations: 119.4 kB / 0.7415 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.2484, allocations: 0 / 0.7415 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4456/0.694, allocations: 14.1 MB / 0.7552 GB, free: 28.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.97, allocations: 7.281 kB / 0.7552 GB, free: 28.38 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 16.060552635230124] Failed to read output from testmodel.py, exit status != 0: 12.088778282050043 12.109760026 11.915639022 Calling exit ...