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.001298/0.001298, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 191.2 kB / 16.67 MB, free: 6.539 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.077/1.077, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4047, allocations: 82.02 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001521/0.4062, allocations: 0.615 MB / 0.676 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.4078, allocations: 1.291 MB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.4078, allocations: 0 / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.4078, allocations: 5.125 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.874e-05/0.4079, allocations: 3.938 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.4083, allocations: 73.86 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.4083, allocations: 22.36 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.4084, allocations: 6.109 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.4084, allocations: 10.22 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.4085, allocations: 15.92 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4085, allocations: 5.375 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.4087, allocations: 104.7 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.4088, allocations: 5.219 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.4088, allocations: 15.48 kB / 0.6776 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.409, allocations: 67.17 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.409, allocations: 0 / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.409, allocations: 1.156 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.409, allocations: 0 / 0.6776 GB, free: 15.29 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.0004872/0.4095, allocations: 352.9 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4095, allocations: 13 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.4096, allocations: 35.91 kB / 0.678 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.4096, allocations: 3.375 kB / 0.678 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.4098, allocations: 165.5 kB / 0.6782 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4098, allocations: 2.594 kB / 0.6782 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.4098, allocations: 6.688 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.4099, allocations: 53.22 kB / 0.6782 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.41, allocations: 0.9062 kB / 0.6782 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.41, allocations: 5.188 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.41, allocations: 5.25 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.4101, allocations: 29.17 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.4103, allocations: 168.9 kB / 0.6784 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4104, allocations: 60.72 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.4105, allocations: 24.53 kB / 0.6785 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.411, allocations: 0.57 MB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4111, allocations: 34.5 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4111, allocations: 1.469 kB / 0.6791 GB, free: 13.61 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.02004/0.4311, allocations: 4.378 MB / 0.6834 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4312, allocations: 54.19 kB / 0.6834 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.4313, allocations: 99.23 kB / 0.6835 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.4314, allocations: 25.7 kB / 0.6835 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.4314, allocations: 85.47 kB / 0.6836 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4315, allocations: 57.23 kB / 0.6837 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.4318, allocations: 93.61 kB / 0.6838 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4319, allocations: 324.2 kB / 0.6841 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.4325, allocations: 310.3 kB / 0.6844 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.433, allocations: 308.4 kB / 0.6847 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.4346, allocations: 0.7733 MB / 0.6854 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4347, allocations: 1.125 kB / 0.6854 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001605/0.4363, allocations: 0.8009 MB / 0.6862 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4363, allocations: 5 kB / 0.6862 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4363, allocations: 0 / 0.6862 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4363, allocations: 5.531 kB / 0.6862 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/0.4372, allocations: 92.31 kB / 0.6863 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4372, allocations: 5.062 kB / 0.6863 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.4377, allocations: 5.719 kB / 0.6863 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.4378, allocations: 40.22 kB / 0.6864 GB, free: 9.301 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.0001946/0.438, allocations: 119.8 kB / 0.6865 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.4381, allocations: 7.828 kB / 0.6865 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.4413, allocations: 1.397 MB / 0.6878 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.4414, allocations: 4.406 kB / 0.6878 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4414, allocations: 0 / 0.6878 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4414, allocations: 9.141 kB / 0.6879 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.4444, allocations: 1.813 MB / 0.6896 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4444, allocations: 0 / 0.6896 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/0.4452, allocations: 109.4 kB / 0.6897 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4453, allocations: 4 kB / 0.6897 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-05/0.4453, allocations: 31.94 kB / 0.6898 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.4454, allocations: 4 kB / 0.6898 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4454, allocations: 3.984 kB / 0.6898 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.4479, allocations: 1.46 MB / 0.6912 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.448, allocations: 92.98 kB / 0.6913 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.4481, allocations: 19.98 kB / 0.6913 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.4486, allocations: 12 kB / 0.6913 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.4488, allocations: 43.91 kB / 0.6914 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.4489, allocations: 32 kB / 0.6914 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.449, allocations: 79.22 kB / 0.6915 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.449, allocations: 0 / 0.6915 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006267/0.4496, allocations: 183.7 kB / 0.6916 GB, free: 4.996 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.003394/0.453, allocations: 2.138 MB / 0.6937 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.4545, allocations: 0.7247 MB / 0.6944 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4545, allocations: 0 / 0.6944 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.4553, allocations: 459.6 kB / 0.6949 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.4556, allocations: 12.12 kB / 0.6949 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008481/0.4641, allocations: 3.727 MB / 0.6985 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4646, allocations: 0.7142 MB / 0.6992 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001086/0.4657, allocations: 293.5 kB / 0.6995 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/0.4663, allocations: 115.4 kB / 0.6996 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.4663, allocations: 7.875 kB / 0.6996 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.5084, allocations: 12.75 MB / 0.7121 GB, free: 152 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.761, allocations: 9.641 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 & 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)