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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.00749/0.00749, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001587/0.001587, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.59/1.59, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.076/1.076, allocations: 143.3 MB / 433.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.89 kB / 0.5954 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4354, allocations: 82.02 MB / 0.6755 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001662/0.4371, allocations: 0.6149 MB / 0.6761 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.4389, allocations: 1.291 MB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.4389, allocations: 1.125 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.4389, allocations: 3.938 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.709e-05/0.439, allocations: 4 kB / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.4394, allocations: 73.98 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.4395, allocations: 19.52 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.4396, allocations: 2.312 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.4396, allocations: 20.41 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4397, allocations: 16.98 kB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.4397, allocations: 1.531 kB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.44, allocations: 96.45 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.44, allocations: 9.016 kB / 0.6776 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.4401, allocations: 12.44 kB / 0.6776 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.4403, allocations: 75.77 kB / 0.6776 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4403, allocations: 3.938 kB / 0.6776 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4403, allocations: 0 / 0.6776 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4403, allocations: 1.062 kB / 0.6776 GB, free: 15.27 MB / 0.5137 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.0005657/0.4409, allocations: 347.3 kB / 0.678 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4409, allocations: 9.031 kB / 0.678 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.441, allocations: 40.8 kB / 0.678 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.441, allocations: 6.406 kB / 0.678 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.4412, allocations: 161.2 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4412, allocations: 2.719 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.4412, allocations: 3.594 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.4413, allocations: 56.98 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4414, allocations: 1.188 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.4414, allocations: 0 / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4414, allocations: 1.281 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.4415, allocations: 29.42 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.4417, allocations: 170.2 kB / 0.6784 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.4418, allocations: 63.38 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.4418, allocations: 24.45 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.4424, allocations: 0.5619 MB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4424, allocations: 43.56 kB / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4424, allocations: 0 / 0.6791 GB, free: 13.6 MB / 0.5137 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.01981/0.4623, allocations: 4.381 MB / 0.6834 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4623, allocations: 52.78 kB / 0.6834 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.4624, allocations: 95.23 kB / 0.6835 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.4625, allocations: 31.08 kB / 0.6836 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.4626, allocations: 80.14 kB / 0.6836 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4627, allocations: 58.36 kB / 0.6837 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.4629, allocations: 92.78 kB / 0.6838 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4631, allocations: 320.2 kB / 0.6841 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.4637, allocations: 314.1 kB / 0.6844 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.4642, allocations: 313.7 kB / 0.6847 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.4658, allocations: 0.7653 MB / 0.6854 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4658, allocations: 0 / 0.6854 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001635/0.4675, allocations: 0.8048 MB / 0.6862 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4675, allocations: 5.875 kB / 0.6862 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4675, allocations: 0 / 0.6862 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4675, allocations: 5.5 kB / 0.6862 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.4684, allocations: 96.09 kB / 0.6863 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4684, allocations: 1.094 kB / 0.6863 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.4689, allocations: 6.719 kB / 0.6863 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.469, allocations: 35.36 kB / 0.6864 GB, free: 9.297 MB / 0.5137 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.0002058/0.4693, allocations: 123.5 kB / 0.6865 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.4693, allocations: 8.203 kB / 0.6865 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.4726, allocations: 1.401 MB / 0.6879 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4726, allocations: 3.5 kB / 0.6879 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4726, allocations: 1.375 kB / 0.6879 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4726, allocations: 0 / 0.6879 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.4757, allocations: 1.812 MB / 0.6896 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4757, allocations: 0 / 0.6896 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.4765, allocations: 115.9 kB / 0.6897 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.4765, allocations: 7.938 kB / 0.6897 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.4766, allocations: 27.94 kB / 0.6898 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4766, allocations: 4.031 kB / 0.6898 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4766, allocations: 4 kB / 0.6898 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.4792, allocations: 1.467 MB / 0.6912 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.4792, allocations: 92.98 kB / 0.6913 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.4793, allocations: 15.88 kB / 0.6913 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.4799, allocations: 8 kB / 0.6913 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.48, allocations: 48.03 kB / 0.6914 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.4801, allocations: 31.98 kB / 0.6914 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.4802, allocations: 79.28 kB / 0.6915 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4802, allocations: 0 / 0.6915 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005804/0.4808, allocations: 175.7 kB / 0.6916 GB, free: 4.988 MB / 0.5137 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.00336/0.4841, allocations: 2.138 MB / 0.6937 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.4855, allocations: 0.7288 MB / 0.6944 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4855, allocations: 0 / 0.6944 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.4862, allocations: 459.6 kB / 0.6949 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.4865, allocations: 15.5 kB / 0.6949 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00801/0.4946, allocations: 3.713 MB / 0.6985 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.4949, allocations: 0.7182 MB / 0.6992 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001065/0.496, allocations: 301.8 kB / 0.6995 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/0.4966, allocations: 107.4 kB / 0.6996 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.4966, allocations: 3.938 kB / 0.6996 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04374/0.5404, allocations: 12.75 MB / 0.7121 GB, free: 152 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.628, allocations: 11.05 kB / 0.7121 GB, free: 144 kB / 0.5294 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)