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.001365/0.001365, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001311/0.001311, allocations: 212 kB / 20.13 MB, free: 2.949 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9644/0.9644, allocations: 144.9 MB / 454.5 MB, free: 9.973 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="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.001949/0.001949, allocations: 75.55 kB / 0.6288 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 87.83 MB / 0.7145 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002265/0.1643, allocations: 0.6124 MB / 0.7151 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1665, allocations: 1.365 MB / 0.7165 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1665, allocations: 0 / 0.7165 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.1665, allocations: 7.938 kB / 0.7165 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.1665, allocations: 0 / 0.7165 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.167, allocations: 79.72 kB / 0.7165 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.1671, allocations: 27.92 kB / 0.7166 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1671, allocations: 7.938 kB / 0.7166 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.1671, allocations: 8 kB / 0.7166 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.1672, allocations: 23.89 kB / 0.7166 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1672, allocations: 0 / 0.7166 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.1676, allocations: 107.9 kB / 0.7167 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1676, allocations: 15.98 kB / 0.7167 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.1676, allocations: 7.938 kB / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1679, allocations: 79.98 kB / 0.7168 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1679, allocations: 0 / 0.7168 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1679, allocations: 0 / 0.7168 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1679, allocations: 4 kB / 0.7168 GB, free: 9.301 MB / 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.0005678/0.1684, allocations: 355.2 kB / 0.7172 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1685, allocations: 8.031 kB / 0.7172 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/0.1685, allocations: 4.188 kB / 0.7172 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.1685, allocations: 34.75 kB / 0.7172 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1686, allocations: 0.9375 kB / 0.7172 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1687, allocations: 172.3 kB / 0.7174 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1688, allocations: 4.375 kB / 0.7174 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1688, allocations: 4.375 kB / 0.7174 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1689, allocations: 61.59 kB / 0.7174 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1689, allocations: 0 / 0.7174 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1689, allocations: 0 / 0.7174 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.169, allocations: 0 / 0.7174 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.169, allocations: 27.98 kB / 0.7175 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.1692, allocations: 169.6 kB / 0.7176 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1694, allocations: 58.5 kB / 0.7177 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.1694, allocations: 21.08 kB / 0.7177 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.17, allocations: 0.5738 MB / 0.7183 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.17, allocations: 30.56 kB / 0.7183 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.17, allocations: 0 / 0.7183 GB, free: 7.496 MB / 0.5294 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.02117/0.1912, allocations: 4.395 MB / 0.7226 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1913, allocations: 59.41 kB / 0.7226 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.1913, allocations: 93.84 kB / 0.7227 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.344e-05/0.1914, allocations: 25.7 kB / 0.7227 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.1915, allocations: 88.14 kB / 0.7228 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1916, allocations: 51.48 kB / 0.7229 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.1919, allocations: 93.67 kB / 0.723 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.192, allocations: 322.9 kB / 0.7233 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.1926, allocations: 311.9 kB / 0.7236 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.1931, allocations: 309.6 kB / 0.7239 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.1948, allocations: 0.7756 MB / 0.7246 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1948, allocations: 0 / 0.7246 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00168/0.1964, allocations: 0.7981 MB / 0.7254 GB, free: 0 / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.1965, allocations: 4.047 kB / 0.7254 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1965, allocations: 0 / 0.7254 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1965, allocations: 4 kB / 0.7254 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/0.1974, allocations: 95.83 kB / 0.7255 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1974, allocations: 0.5469 kB / 0.7255 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.1979, allocations: 12 kB / 0.7255 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.198, allocations: 39.91 kB / 0.7256 GB, free: 15.85 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.0002134/0.1982, allocations: 113.8 kB / 0.7257 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.1983, allocations: 7.953 kB / 0.7257 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.2017, allocations: 1.404 MB / 0.727 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2017, allocations: 4 kB / 0.7271 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2017, allocations: 4 kB / 0.7271 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.2018, allocations: 3.984 kB / 0.7271 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.205, allocations: 1.822 MB / 0.7288 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.205, allocations: 0 / 0.7288 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.2059, allocations: 107.9 kB / 0.7289 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.2059, allocations: 7.969 kB / 0.7289 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.206, allocations: 32 kB / 0.729 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.206, allocations: 7.969 kB / 0.729 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.206, allocations: 0 / 0.729 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.2087, allocations: 1.463 MB / 0.7304 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.2088, allocations: 96.98 kB / 0.7305 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.2088, allocations: 11.92 kB / 0.7305 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.2094, allocations: 20.06 kB / 0.7305 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2096, allocations: 35.97 kB / 0.7306 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/0.2096, allocations: 32 kB / 0.7306 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.2097, allocations: 75.28 kB / 0.7307 GB, free: 10.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2097, allocations: 0 / 0.7307 GB, free: 10.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006357/0.2103, allocations: 183.7 kB / 0.7308 GB, free: 10.31 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.00342/0.2137, allocations: 2.143 MB / 0.7329 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.2151, allocations: 0.7162 MB / 0.7336 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2151, allocations: 4 kB / 0.7336 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.2158, allocations: 399.6 kB / 0.734 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2161, allocations: 19.98 kB / 0.734 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/0.2246, allocations: 3.728 MB / 0.7377 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.225, allocations: 0.7142 MB / 0.7384 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00103/0.226, allocations: 289.5 kB / 0.7387 GB, free: 2.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/0.2266, allocations: 119.4 kB / 0.7388 GB, free: 2.059 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.2266, allocations: 0 / 0.7388 GB, free: 2.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.2634, allocations: 12.95 MB / 0.7514 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.599, allocations: 30.09 kB / 0.7514 GB, free: 5.316 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 & /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: 12.679398394015152] Failed to read output from testmodel.py, exit status != 0: 8.727574563992675 8.753479079 8.581301761 Calling exit ...