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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 194.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 1/1, allocations: 143.1 MB / 433 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1734, allocations: 82.04 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001802/0.1752, allocations: 0.666 MB / 0.5944 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1768, allocations: 1.283 MB / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.1768, allocations: 0 / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.1768, allocations: 0 / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.184e-05/0.1768, allocations: 0 / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1772, allocations: 63.8 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.1772, allocations: 19.98 kB / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1773, allocations: 4 kB / 0.5957 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.1773, allocations: 11.92 kB / 0.5957 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.1774, allocations: 23.84 kB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1774, allocations: 4 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1776, allocations: 91.91 kB / 0.5959 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.1776, allocations: 11.97 kB / 0.5959 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.1776, allocations: 11.94 kB / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1778, allocations: 67.86 kB / 0.5959 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1778, allocations: 0 / 0.5959 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.91e-07/0.1778, allocations: 0 / 0.5959 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1778, allocations: 0 / 0.5959 GB, free: 7.684 MB / 0.4981 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.0004079/0.1782, allocations: 351.7 kB / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1783, allocations: 12.03 kB / 0.5963 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.1783, allocations: 38.73 kB / 0.5963 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.1783, allocations: 0.9375 kB / 0.5963 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1784, allocations: 168.3 kB / 0.5965 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1785, allocations: 8.375 kB / 0.5965 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1785, allocations: 8.375 kB / 0.5965 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1786, allocations: 53.8 kB / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1786, allocations: 0 / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1786, allocations: 4 kB / 0.5966 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1787, allocations: 0 / 0.5966 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.1787, allocations: 23.98 kB / 0.5966 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.1789, allocations: 169.6 kB / 0.5967 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.179, allocations: 66.44 kB / 0.5968 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.1791, allocations: 24.84 kB / 0.5968 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005039/0.1796, allocations: 0.5622 MB / 0.5974 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1796, allocations: 34.5 kB / 0.5974 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.625e-06/0.1796, allocations: 3.984 kB / 0.5974 GB, free: 5.875 MB / 0.4981 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.0199/0.1995, allocations: 4.377 MB / 0.6017 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1996, allocations: 59.39 kB / 0.6018 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.1997, allocations: 97.86 kB / 0.6018 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.1997, allocations: 25.7 kB / 0.6019 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.1998, allocations: 84.14 kB / 0.602 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1999, allocations: 59.09 kB / 0.602 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.2002, allocations: 93.67 kB / 0.6021 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2003, allocations: 322.7 kB / 0.6024 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.2008, allocations: 311.9 kB / 0.6027 GB, free: 288 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3343/0.5351, allocations: 308.2 kB / 0.603 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.5366, allocations: 0.776 MB / 0.6038 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5367, allocations: 0 / 0.6038 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001412/0.5381, allocations: 0.7975 MB / 0.6045 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5381, allocations: 9.5 kB / 0.6045 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5381, allocations: 2.562 kB / 0.6045 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5381, allocations: 2.906 kB / 0.6045 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.5389, allocations: 91.72 kB / 0.6046 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5389, allocations: 3.938 kB / 0.6046 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.5393, allocations: 5.656 kB / 0.6046 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.5394, allocations: 35.66 kB / 0.6047 GB, free: 44.2 MB / 0.4981 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.00017/0.5396, allocations: 122.3 kB / 0.6048 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.5397, allocations: 8.938 kB / 0.6048 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.5428, allocations: 1.402 MB / 0.6062 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5428, allocations: 2.75 kB / 0.6062 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5428, allocations: 4 kB / 0.6062 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5428, allocations: 0 / 0.6062 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.5453, allocations: 1.806 MB / 0.6079 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5453, allocations: 0 / 0.6079 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.5461, allocations: 109.5 kB / 0.608 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.5461, allocations: 0 / 0.608 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.5461, allocations: 36.62 kB / 0.6081 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.5462, allocations: 3.469 kB / 0.6081 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5462, allocations: 3.344 kB / 0.6081 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.5482, allocations: 1.468 MB / 0.6095 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.5482, allocations: 92.64 kB / 0.6096 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/0.5483, allocations: 10.69 kB / 0.6096 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.5488, allocations: 13.94 kB / 0.6096 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.549, allocations: 41.25 kB / 0.6097 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.549, allocations: 31.56 kB / 0.6097 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.5491, allocations: 75.34 kB / 0.6098 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.5491, allocations: 7 kB / 0.6098 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000552/0.5496, allocations: 180.7 kB / 0.61 GB, free: 42.19 MB / 0.4981 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.002589/0.5522, allocations: 2.123 MB / 0.612 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.5534, allocations: 0.7257 MB / 0.6127 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5534, allocations: 2.062 kB / 0.6127 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.5539, allocations: 456.1 kB / 0.6132 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.5543, allocations: 17.5 kB / 0.6132 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.5609, allocations: 3.767 MB / 0.6169 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.5611, allocations: 0.715 MB / 0.6176 GB, free: 37.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001342/0.5624, allocations: 294.7 kB / 0.6178 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/0.563, allocations: 116.8 kB / 0.618 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.563, allocations: 0 / 0.618 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.5857, allocations: 12.1 MB / 0.6298 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.5859, allocations: 236.6 kB / 0.63 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.338, allocations: 2.344 kB / 0.63 GB, free: 36.28 MB / 0.4981 GB (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 --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)