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.001308/0.001308, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.001358/0.001358, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.9304/0.9304, allocations: 145 MB / 453.8 MB, free: 0.7266 MB / 350.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.001955/0.001955, allocations: 62.41 kB / 0.6281 GB, free: 10.6 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1748, allocations: 87.83 MB / 0.7139 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001781/0.1766, allocations: 0.6018 MB / 0.7144 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1785, allocations: 1.369 MB / 0.7158 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.1786, allocations: 3.938 kB / 0.7158 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1786, allocations: 0 / 0.7158 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.948e-05/0.1786, allocations: 0 / 0.7158 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.179, allocations: 83.66 kB / 0.7159 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1791, allocations: 23.98 kB / 0.7159 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.1791, allocations: 4.266 kB / 0.7159 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.1792, allocations: 15.98 kB / 0.7159 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.1792, allocations: 19.92 kB / 0.7159 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1792, allocations: 0 / 0.7159 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.1795, allocations: 111.9 kB / 0.716 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1795, allocations: 7.938 kB / 0.716 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1796, allocations: 15.92 kB / 0.7161 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1797, allocations: 75.72 kB / 0.7161 GB, free: 440 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1797, allocations: 3.938 kB / 0.7161 GB, free: 436 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1797, allocations: 3.938 kB / 0.7161 GB, free: 432 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1797, allocations: 4 kB / 0.7161 GB, free: 428 kB / 0.5294 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.0005122/0.1802, allocations: 351.3 kB / 0.7165 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1803, allocations: 8.031 kB / 0.7165 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.1803, allocations: 34.75 kB / 0.7165 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1804, allocations: 8.922 kB / 0.7165 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1805, allocations: 168.3 kB / 0.7167 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1805, allocations: 4.375 kB / 0.7167 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1805, allocations: 4.375 kB / 0.7167 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1807, allocations: 53.8 kB / 0.7167 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1807, allocations: 4 kB / 0.7167 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1807, allocations: 8 kB / 0.7168 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1807, allocations: 0 / 0.7168 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.1808, allocations: 23.92 kB / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.181, allocations: 169.6 kB / 0.7169 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1811, allocations: 50.56 kB / 0.717 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.1812, allocations: 28.84 kB / 0.717 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/0.1817, allocations: 0.5622 MB / 0.7176 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1817, allocations: 38.5 kB / 0.7176 GB, free: 14.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1817, allocations: 0 / 0.7176 GB, free: 14.62 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.0206/0.2023, allocations: 4.39 MB / 0.7219 GB, free: 10.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2024, allocations: 51.41 kB / 0.7219 GB, free: 10.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.2025, allocations: 93.86 kB / 0.722 GB, free: 9.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.2026, allocations: 29.7 kB / 0.7221 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.2026, allocations: 80.14 kB / 0.7221 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2027, allocations: 59.48 kB / 0.7222 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.203, allocations: 101.7 kB / 0.7223 GB, free: 9.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2031, allocations: 318.8 kB / 0.7226 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.2037, allocations: 315.9 kB / 0.7229 GB, free: 9.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.2042, allocations: 305.8 kB / 0.7232 GB, free: 8.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.2059, allocations: 0.7663 MB / 0.7239 GB, free: 7.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2059, allocations: 0 / 0.7239 GB, free: 7.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001833/0.2077, allocations: 0.8082 MB / 0.7247 GB, free: 7.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.2077, allocations: 7.938 kB / 0.7247 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2077, allocations: 0 / 0.7247 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2078, allocations: 4 kB / 0.7247 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.2086, allocations: 95.94 kB / 0.7248 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2086, allocations: 4 kB / 0.7248 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.2092, allocations: 8 kB / 0.7248 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.2093, allocations: 31.98 kB / 0.7249 GB, free: 6.98 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.0002433/0.2095, allocations: 125.7 kB / 0.725 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.2096, allocations: 11.94 kB / 0.725 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/0.213, allocations: 1.4 MB / 0.7264 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.213, allocations: 4 kB / 0.7264 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2131, allocations: 0 / 0.7264 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2131, allocations: 0 / 0.7264 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.2164, allocations: 1.814 MB / 0.7281 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2164, allocations: 4.031 kB / 0.7281 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/0.2172, allocations: 115.8 kB / 0.7283 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.2173, allocations: 4 kB / 0.7283 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.2173, allocations: 27.94 kB / 0.7283 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.2173, allocations: 4 kB / 0.7283 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2173, allocations: 0 / 0.7283 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.22, allocations: 1.471 MB / 0.7297 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.22, allocations: 92.98 kB / 0.7298 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.2201, allocations: 11.94 kB / 0.7298 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/0.2207, allocations: 8 kB / 0.7298 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.2208, allocations: 47.91 kB / 0.7299 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.2209, allocations: 35.98 kB / 0.7299 GB, free: 1.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.221, allocations: 75.28 kB / 0.73 GB, free: 1.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.221, allocations: 0 / 0.73 GB, free: 1.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006246/0.2216, allocations: 183.6 kB / 0.7302 GB, free: 1.438 MB / 0.545 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.003419/0.225, allocations: 2.134 MB / 0.7322 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.2264, allocations: 0.7189 MB / 0.7329 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2264, allocations: 0 / 0.7329 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.2271, allocations: 403.8 kB / 0.7333 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.2274, allocations: 16 kB / 0.7333 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.2356, allocations: 3.735 MB / 0.737 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.236, allocations: 0.7181 MB / 0.7377 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001036/0.237, allocations: 294.6 kB / 0.738 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.2376, allocations: 111.4 kB / 0.7381 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.2376, allocations: 0 / 0.7381 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3623/0.5999, allocations: 12.91 MB / 0.7507 GB, free: 33.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.634, allocations: 12.22 kB / 0.7507 GB, free: 33.68 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.384946076999768] Failed to read output from testmodel.py, exit status != 0: 8.706582377999439 8.730994159 8.547114688 Calling exit ...