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.001587/0.001587, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001891/0.00189, allocations: 198.7 kB / 16.26 MB, free: 6.617 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 0.9905/0.9905, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.89 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 82.03 MB / 0.5939 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002203/0.193, allocations: 0.6738 MB / 0.5946 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1948, allocations: 1.275 MB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1948, allocations: 0 / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.1948, allocations: 4 kB / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.1949, allocations: 0 / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1953, allocations: 67.86 kB / 0.5959 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.1954, allocations: 23.92 kB / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1954, allocations: 0 / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1955, allocations: 11.98 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.1955, allocations: 19.91 kB / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1956, allocations: 0 / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1958, allocations: 95.84 kB / 0.596 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.1958, allocations: 19.97 kB / 0.5961 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.1959, allocations: 11.94 kB / 0.5961 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.196, allocations: 59.86 kB / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.196, allocations: 0 / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.698e-06/0.196, allocations: 4 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.196, allocations: 0 / 0.5961 GB, free: 7.52 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.0005074/0.1966, allocations: 355 kB / 0.5965 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1966, allocations: 8.031 kB / 0.5965 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.1966, allocations: 38.73 kB / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1967, allocations: 8.938 kB / 0.5965 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1968, allocations: 160.4 kB / 0.5967 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1968, allocations: 4.375 kB / 0.5967 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1969, allocations: 8.312 kB / 0.5967 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.197, allocations: 57.73 kB / 0.5967 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.197, allocations: 4 kB / 0.5967 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1971, allocations: 4 kB / 0.5967 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1971, allocations: 3.938 kB / 0.5968 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.1971, allocations: 19.98 kB / 0.5968 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.1973, allocations: 173.6 kB / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1975, allocations: 62.5 kB / 0.597 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.1975, allocations: 24.84 kB / 0.597 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.1981, allocations: 0.5583 MB / 0.5976 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1981, allocations: 42.5 kB / 0.5976 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1981, allocations: 0 / 0.5976 GB, free: 5.711 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.02018/0.2183, allocations: 4.369 MB / 0.6019 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2184, allocations: 55.41 kB / 0.6019 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.2185, allocations: 97.86 kB / 0.602 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.2186, allocations: 25.7 kB / 0.602 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.2186, allocations: 80.14 kB / 0.6021 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.2187, allocations: 63.09 kB / 0.6022 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.219, allocations: 93.66 kB / 0.6023 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2191, allocations: 322.8 kB / 0.6026 GB, free: 440 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.2196, allocations: 304 kB / 0.6029 GB, free: 136 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3063/0.526, allocations: 320.5 kB / 0.6032 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.5275, allocations: 0.7696 MB / 0.6039 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5275, allocations: 0 / 0.6039 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001366/0.5289, allocations: 0.8001 MB / 0.6047 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5289, allocations: 5.438 kB / 0.6047 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5289, allocations: 0 / 0.6047 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5289, allocations: 2.656 kB / 0.6047 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/0.5297, allocations: 93.56 kB / 0.6048 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5298, allocations: 3.375 kB / 0.6048 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.5303, allocations: 8.5 kB / 0.6048 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.5303, allocations: 36.81 kB / 0.6048 GB, free: 44.12 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.0001844/0.5305, allocations: 121 kB / 0.605 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.5306, allocations: 5.594 kB / 0.605 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.5336, allocations: 1.402 MB / 0.6063 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5336, allocations: 7.609 kB / 0.6063 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5337, allocations: 3.5 kB / 0.6063 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5337, allocations: 3.656 kB / 0.6064 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.5361, allocations: 1.809 MB / 0.6081 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5361, allocations: 1.312 kB / 0.6081 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.5368, allocations: 106.2 kB / 0.6082 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5368, allocations: 3.094 kB / 0.6082 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.5369, allocations: 36.38 kB / 0.6083 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.5369, allocations: 3.062 kB / 0.6083 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5369, allocations: 2.906 kB / 0.6083 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.539, allocations: 1.468 MB / 0.6097 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.5391, allocations: 93.22 kB / 0.6098 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.5392, allocations: 10.72 kB / 0.6098 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.5397, allocations: 17.12 kB / 0.6098 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.5398, allocations: 37.8 kB / 0.6098 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/0.5399, allocations: 34.53 kB / 0.6099 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.5399, allocations: 79.34 kB / 0.61 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.422e-06/0.5399, allocations: 0 / 0.61 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005995/0.5405, allocations: 182.9 kB / 0.6101 GB, free: 42 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.002753/0.5433, allocations: 2.124 MB / 0.6122 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.5445, allocations: 0.7445 MB / 0.6129 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5445, allocations: 0 / 0.6129 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.5451, allocations: 452.4 kB / 0.6134 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.5455, allocations: 18.25 kB / 0.6134 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.5524, allocations: 3.771 MB / 0.6171 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.5527, allocations: 0.7153 MB / 0.6178 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001465/0.5542, allocations: 294.2 kB / 0.618 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.5548, allocations: 119.2 kB / 0.6182 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.683e-06/0.5548, allocations: 2.875 kB / 0.6182 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.5833, allocations: 12.62 MB / 0.6305 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5836, allocations: 237.1 kB / 0.6307 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.496, allocations: 3.656 kB / 0.6307 GB, free: 36.07 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)