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.001651/0.001651, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001506/0.001506, allocations: 216 kB / 22.25 MB, free: 5.125 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.445/1.445, allocations: 230.6 MB / 256 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.9192/0.9192, allocations: 145 MB / 457.4 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="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.002229/0.002229, allocations: 66.25 kB / 0.6332 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1993, allocations: 87.88 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001988/0.2012, allocations: 0.6039 MB / 0.7196 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2034, allocations: 1.373 MB / 0.721 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.2034, allocations: 4 kB / 0.721 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.2034, allocations: 3.938 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.801e-05/0.2034, allocations: 0 / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.2039, allocations: 87.66 kB / 0.7211 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.2039, allocations: 23.98 kB / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.204, allocations: 0 / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.204, allocations: 19.92 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.2041, allocations: 11.98 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2041, allocations: 0 / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.2044, allocations: 115.8 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2044, allocations: 8 kB / 0.7212 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.2044, allocations: 7.922 kB / 0.7212 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.2046, allocations: 75.78 kB / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2046, allocations: 4 kB / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2046, allocations: 0 / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2046, allocations: 0 / 0.7213 GB, free: 13.07 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.0004912/0.2051, allocations: 282.1 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2051, allocations: 11.97 kB / 0.7216 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.2052, allocations: 30.75 kB / 0.7216 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2052, allocations: 12.91 kB / 0.7216 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2053, allocations: 118.5 kB / 0.7218 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2053, allocations: 4.375 kB / 0.7218 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.2054, allocations: 8.375 kB / 0.7218 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2055, allocations: 53.81 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2055, allocations: 3.984 kB / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2056, allocations: 0 / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2056, allocations: 0 / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.2056, allocations: 27.92 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.2058, allocations: 136.7 kB / 0.722 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.206, allocations: 58.56 kB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.206, allocations: 24.84 kB / 0.7221 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.2063, allocations: 31.97 kB / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2063, allocations: 38.5 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2063, allocations: 3.938 kB / 0.7221 GB, free: 12.11 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.01978/0.2261, allocations: 4.185 MB / 0.7262 GB, free: 7.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.2261, allocations: 55.34 kB / 0.7263 GB, free: 7.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.2262, allocations: 97.84 kB / 0.7264 GB, free: 7.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.2263, allocations: 29.83 kB / 0.7264 GB, free: 7.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.2264, allocations: 84.14 kB / 0.7265 GB, free: 7.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2265, allocations: 55.48 kB / 0.7265 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.2267, allocations: 93.67 kB / 0.7266 GB, free: 7.391 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2269, allocations: 322.8 kB / 0.7269 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.2274, allocations: 307.9 kB / 0.7272 GB, free: 6.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.228, allocations: 307.9 kB / 0.7275 GB, free: 6.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.2295, allocations: 0.7719 MB / 0.7283 GB, free: 5.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2295, allocations: 0 / 0.7283 GB, free: 5.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001588/0.2311, allocations: 0.802 MB / 0.729 GB, free: 4.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.2311, allocations: 10.19 kB / 0.7291 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2311, allocations: 3.938 kB / 0.7291 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2311, allocations: 0 / 0.7291 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.232, allocations: 91.94 kB / 0.7291 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.232, allocations: 0 / 0.7291 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.2325, allocations: 8 kB / 0.7292 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.2325, allocations: 43.95 kB / 0.7292 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.0002113/0.2327, allocations: 121.7 kB / 0.7293 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.2328, allocations: 11.95 kB / 0.7293 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.236, allocations: 1.392 MB / 0.7307 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.236, allocations: 4 kB / 0.7307 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.236, allocations: 4 kB / 0.7307 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.236, allocations: 3.984 kB / 0.7307 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.2391, allocations: 1.786 MB / 0.7324 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2391, allocations: 4 kB / 0.7324 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/0.2399, allocations: 111.8 kB / 0.7325 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.2399, allocations: 0 / 0.7325 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.24, allocations: 35.94 kB / 0.7326 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.24, allocations: 0 / 0.7326 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.24, allocations: 7.938 kB / 0.7326 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.2425, allocations: 1.466 MB / 0.734 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.2425, allocations: 15.84 kB / 0.734 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.2426, allocations: 11.94 kB / 0.734 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.2431, allocations: 12 kB / 0.7341 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2432, allocations: 43.94 kB / 0.7341 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.2433, allocations: 32 kB / 0.7341 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.2433, allocations: 79.34 kB / 0.7342 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2433, allocations: 0 / 0.7342 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005822/0.2439, allocations: 183.7 kB / 0.7344 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.003303/0.2472, allocations: 2.131 MB / 0.7365 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.2485, allocations: 0.7185 MB / 0.7372 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2485, allocations: 0 / 0.7372 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.2492, allocations: 404 kB / 0.7376 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.0003182/0.2495, allocations: 15.94 kB / 0.7376 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007816/0.2573, allocations: 3.717 MB / 0.7412 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.2578, allocations: 0.718 MB / 0.7419 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001067/0.2589, allocations: 290.5 kB / 0.7422 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/0.2594, allocations: 123.4 kB / 0.7423 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of SimCode: time 2.335e-06/0.2594, allocations: 0 / 0.7423 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3912/0.6506, allocations: 13.49 MB / 0.7555 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.6, allocations: 10.64 kB / 0.7555 GB, free: 28.92 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: 15.369271833998937] Failed to read output from testmodel.py, exit status != 0: 11.705515618999925 11.728842735 11.52008281 Calling exit ...